Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

RE: redeclaring variables with 'my' (use vars qw($var); and my $var ?)

by ybiC (Prior)
on Nov 10, 2000 at 18:10 UTC ( [id://40940]=note: print w/replies, xml ) Need Help??


in reply to redeclaring variables with 'my'

Might the lead software engineer been railing against using my $var in a loop when $var already declared with use vars qw($var)? Resulting in two scalars of same name, one of which isn't even used.

I did the same on occasion, until corrected here at PM.
    cheers,
    Don
    striving for Perl Adept

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://40940]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2024-03-28 09:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found