On 9/30/10 10:38 PM, Parag Kalra wrote:
Few questions/suggestions:
Which shell are you on? i.e echo $SHELL
/bin/bash
whats the location of the perl binary: i.e which perl
/usr/bin/perl
Can you invoke the program using 'use strict' and let us know the output
I've edited the test.pl script as follows:
#!/usr/bin/env perl
use warnings;
use strict;
use Data::Dumper;
print "Hello World \n";
...and the result in iTerm is exactly the same: no "Hello world",
new command prompt.
Can you try this: perl -e 'print "Hello World"'
Ah, yes, I forgot to mention in my first post that I did try perl
-e 'print "Hello World"' and it worked just fine.
Cheers,
Parag
- Mark
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/