Unix shell interactive with perl - NewBie

Discussion in 'Perl Misc' started by NewBie, Jul 23, 2004.

  1. NewBie

    NewBie Guest

    Hi,

    How to interact with a unix shell in perl?


    Thanks in advance,
    YC
     
    NewBie, Jul 23, 2004
    #1
    1. Advertising

  2. NewBie

    Matt Garrish Guest

    "Bernard El-Hagin" <> wrote in
    message news:Xns952F74BC9B296elhber1lidotechnet@62.89.127.66...
    > "NewBie" <> 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//.
    >


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

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

    Matt
     
    Matt Garrish, Jul 23, 2004
    #2
    1. Advertising

  3. "Matt Garrish" <> writes:

    > "Bernard El-Hagin" <> wrote in
    > message news:Xns952F74BC9B296elhber1lidotechnet@62.89.127.66...
    > > "NewBie" <> 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//.
    > >

    >
    > 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\\
     
    Brian McCauley, Jul 23, 2004
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    2
    Views:
    5,850
    Jonathan Bromley
    Feb 18, 2005
  2. Mohsin
    Replies:
    2
    Views:
    740
  3. WJ
    Replies:
    2
    Views:
    526
  4. Robert Wallace

    my own perl "dos->unix"/"unix->dos"

    Robert Wallace, Jan 21, 2004, in forum: Perl Misc
    Replies:
    7
    Views:
    302
    Michele Dondi
    Jan 22, 2004
  5. Simon O
    Replies:
    8
    Views:
    187
    Mumia W.
    Jun 15, 2006
Loading...

Share This Page