Dave Cross said:
> I just saw a post in uk.comp.os.linux that used this syntax:
>
> use strict qw($var);
>
> to declare a variable. I was about to point out that the syntax was
> wrong but, on testing, I find that it works (it creates a package
> variable).

Does it?  Seems just to be an expensive noop.

Did you have warnings turned on?

As I recall, strict doesn't complain if you pass it something it doesn't
recognise.  This is so that new strictures can be more easily added.

-- 
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net




Reply via email to