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
perl -v
returns
This is perl 5, version 12, subversion 0 (v5.12.0) built for i686-linu
+x
...
so I'm assuming that perlbrew did its job.
However, running this test program, named brewcheck.pl:
#!/home/explain/localperl/bin/perl
print "foo";
die "fark";
yields:
fark at ./brewcheck.pl line 4.
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?