Mark Nutter said ...
> > What does exactly does use strict do?
>
> Here's a sample:
>
> use strict;
>
> use vars qw( $a $b $c     # this is how you declare variables
>            $myvar   );  # for use with "use strict"

I've always seen it done this way:

#[code]
my ($a, $b, $c, $myvar);
#[/code]

...so that the variables are part of the current package.
I kind of like the way you've done it, though.
Why would you choose one of these over the other?

-- Brian.

Reply via email to