$PATH/expect_scripts/script.exp | $PATH/perl/script.pl

Ask a Question related to PERL Beginners, Design and Development.

  1. #1

    Default $PATH/expect_scripts/script.exp | $PATH/perl/script.pl


    the subject describes my wishes.

    what i really want to do is parse the screens of an
    expect script through a perl script... now, what i would like to
    do is understand how to catch a pipe in perl, and how
    my program will end up being different.

    I looked up pipe in 'perldoc -q pipe' and 'perldoc -f pipe'

    i'm having trouble parsing the information, so i'm looking
    forward to a little bit of extra enlightenment :)


    thanks,
    willy



    William M West Guest

  2. Similar Questions and Discussions

    1. include files using dynamic path script - Help?
      I have recently found Hosting services that have the PHP virtual() function disabled. This function works only when PHP is compiled as an Apache...
    2. #24329 [Bgs]: Appending path info to a php script breaks under IIS
      ID: 24329 Updated by: abies@php.net Reported By: marcus at quintic dot co dot uk Status: Bogus Bug Type: ...
    3. #24329 [Opn->Bgs]: Appending path info to a php script breaks under IIS
      ID: 24329 Updated by: sniper@php.net Reported By: marcus at quintic dot co dot uk -Status: Open +Status: ...
    4. #24329 [Fbk->Opn]: Appending path info to a php script breaks under IIS
      ID: 24329 User updated by: marcus at quintic dot co dot uk Reported By: marcus at quintic dot co dot uk -Status: ...
    5. #24329 [Opn->Fbk]: Appending path info to a php script breaks under IIS
      ID: 24329 Updated by: sniper@php.net Reported By: marcus at quintic dot co dot uk -Status: Open +Status: ...
  3. #2

    Default RE: $PATH/expect_scripts/script.exp | $PATH/perl/script.pl



    i feel silly. with regard to pipe catching::


    while (<STDIN>) {

    print " $_, is a lovely string\n";

    }


    well, there's a simple answer to a simple question...



    willy :)

    William M West Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139