perlpreben has asked for the wisdom of the Perl Monks concerning the following question:
it works. But I need to do:open(SY, "echo blablabla|") or die "$!"; while(<SY>){ print ">>$_"; }
open(SY, "echo blablabla|/usr/bin/js|") or die "$!"; while(<SY>){ print ">>$_"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: perl, open and pipe
by JavaFan (Canon) on May 09, 2010 at 17:58 UTC | |
|
Re: perl, open and pipe
by shmem (Chancellor) on May 10, 2010 at 09:43 UTC | |
by afoken (Chancellor) on May 11, 2010 at 05:33 UTC | |
by shmem (Chancellor) on May 11, 2010 at 07:48 UTC | |
|
Re: perl, open and pipe
by ikegami (Patriarch) on May 11, 2010 at 05:35 UTC |