perl_Gu has asked for the wisdom of the Perl Monks concerning the following question:
a new user and perl-learner, very beginner. I tried to run this this simple program :
#!/usr/bin/perl-w use strict; $name = "bug"; print "hello there , $name, did you know 1+0", 1+0, "?\n";
---- but I got this :
BEGIN not safe after errors--compilation aborted at /System/Library/Pe +rl/5.16/Carp/Heavy.pm line 3. Compilation failed in require at /Users/Gucci/Downloads/TextMate.app/C +ontents/SharedSupport/Bundles/Perl.tmbundle/Support/exception_handler +.pm line 30.
I tried other simple codes, but keep getting this, any idea and suggestion , thanks