in reply to Simnple script not working - Perl on XP

You have associated cmd with .pl files. Try
D:\dev\test>perl hi.pl
print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."

Replies are listed 'Best First'.
Re^2: Simnple script not working - Perl on XP
by zerocred (Beadle) on Jan 11, 2011 at 15:05 UTC
    Ah Ha!
    Thanks you that is it.
    In the past putting .pl always worked OK so I didn't think of that...
    Cheers!
    z