For Programmers: Free Programming Magazines  


Home > Archive > PERL Miscellaneous > July 2004 > Unix shell interactive with perl - NewBie









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Unix shell interactive with perl - NewBie
NewBie

2004-07-23, 8:56 am

Hi,

How to interact with a unix shell in perl?


Thanks in advance,
YC


Bernard El-Hagin

2004-07-23, 8:56 am

"NewBie" <leongyc@tp.edu.sg> wrote:

> Hi,
>
> How to interact with a unix shell in perl?



Buy it a drink, compliment it, and for pete's sake, don't make jokes
about its weight...


....or use system() and/or qx//.


--
Cheers,
Bernard
Matt Garrish

2004-07-23, 3:56 pm


"Bernard El-Hagin" <bernard.el-haginDODGE_THIS@lido-tech.net> wrote in
message news:Xns952F74BC9B296elhber1lidotechnet@
62.89.127.66...
> "NewBie" <leongyc@tp.edu.sg> wrote:
>
>
>
> Buy it a drink, compliment it, and for pete's sake, don't make jokes
> about its weight...
>
>
> ...or use system() and/or qx//.
>


Or read from stdin and print to stdout, if that's what he's after.

Very sage advice that first part, though... : )

Matt


Brian McCauley

2004-07-23, 8:56 pm

"Matt Garrish" <matthew.garrish@sympatico.ca> writes:

> "Bernard El-Hagin" <bernard.el-haginDODGE_THIS@lido-tech.net> wrote in
> message news:Xns952F74BC9B296elhber1lidotechnet@
62.89.127.66...
>
> Or read from stdin and print to stdout, if that's what he's after.
>
> Very sage advice that first part, though... : )


vvvvvv
I >>>>Expect<<< the OP was looking for something else :-).
^^^^^^

--
\\ ( )
. _\\__[oo
.__/ \\ /\@
. l___\\
# ll l\\
###LL LL\\
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com