hessef has asked for the wisdom of the Perl Monks concerning the following question:
I'm running Ubuntu 9.10 and wanted to try perl 5.12. I've heard good things about perlbrew and installed perl 5.12 using that.
Running
returnsperl -v
so I'm assuming that perlbrew did its job. However, running this test program, named brewcheck.pl:This is perl 5, version 12, subversion 0 (v5.12.0) built for i686-linu +x ...
yields:#!/home/explain/localperl/bin/perl print "foo"; die "fark";
The print statement doesn't print. Running ./brewcheck.pl > outputfile, however runs as expected: I get a file named outputfile that contains the "foo" from the print statement. While that sort of behavior is usable, I'd really, really to be able to read the contents of print statments on the terminal while my perl scripts are running. Help, please?fark at ./brewcheck.pl line 4.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Using perlbrew hides stdout
by NetWallah (Canon) on Apr 23, 2010 at 02:57 UTC | |
by hessef (Monk) on Apr 23, 2010 at 03:45 UTC | |
|
Re: Using perlbrew hides stdout
by ikegami (Patriarch) on Apr 23, 2010 at 02:58 UTC |