At 15:33 +0300 13/09/2011, Shlomi Fish wrote:

...For more information see:

http://perl.plover.com/FAQs/Namespaces.html

Useful article.

Now can you explain why I get no error with this little routine? -

        #!/usr/local/bin/perl
        use strict;
        $a = 1;
        $b = 2;
        print qq($a, $b\n);

However as soon as I progress to $c or $aa or any number of other denominations, I do get the expected error.

Just in case the aqnomaly was due to my software I tested it also in the command line and got the same result:

$ perl <<'END';
use strict;
   $a = 1;
   $b = 2;
   print qq($a, $b\n);
END

JD


--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to