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