Home > Archive > PERL Beginners > September 2006 > can't print to STDOUT on 5.8.4
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 |
can't print to STDOUT on 5.8.4
|
|
| Michael Alipio 2006-09-05, 3:57 am |
| Hi,
I was running this command on my perl program,
open FLOWTOOLS, "|/usr/bin/flow-cat $start |
/usr/bin/flow-nfilter -f filter.tmp -F $direction
|/usr/bin/flow-stat -Pf8 | le
ss" or die $!;
It does output something on the screen when I run it
on FreeBSD 6.1/perl 5.8.8 (while on csh)
However, when I run it on another machine Linux
version 2.6.8-2-386 Debian 1:3.3.5-13, with This is
perl, v5.8.4 built for i386-linux-thread-multi (while
on bash)
a blank screen appears shortly and then the program
immediately exits..
Any idea why this is happening?
Thanks.
________________________________________
__________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
| |
| Mumia W. 2006-09-05, 3:57 am |
| On 09/05/2006 12:50 AM, Michael Alipio wrote:
> Hi,
>
> I was running this command on my perl program,
>
> open FLOWTOOLS, "|/usr/bin/flow-cat $start |
> /usr/bin/flow-nfilter -f filter.tmp -F $direction
> |/usr/bin/flow-stat -Pf8 | le
> ss" or die $!;
>
> It does output something on the screen when I run it
> on FreeBSD 6.1/perl 5.8.8 (while on csh)
>
> However, when I run it on another machine Linux
> version 2.6.8-2-386 Debian 1:3.3.5-13, with This is
> perl, v5.8.4 built for i386-linux-thread-multi (while
> on bash)
>
> a blank screen appears shortly and then the program
> immediately exits..
>
> Any idea why this is happening?
>
> Thanks.
>
First of all, FLOWTOOLS is not STDOUT.
You can't use "less" this way. "Less" is supposed to be used
on an interactive terminal. I know nothing about the
flow-tools. What are you trying to do?
|
|
|
|
|