Do you know where your variables are? | |
PerlMonks |
Re: trouble modifying add_record subroutineby mephit (Scribe) |
on Sep 10, 2002 at 20:20 UTC ( [id://196801]=note: print w/replies, xml ) | Need Help?? |
I'm surprised none of the previous posters mentioned that this is a use of symbolic references, and horks under 'use strict.' You are "use strict'-ing, aren't you? I agree with what anithri said here: use a hash instead. Oh, and use strict, too. -w couldn't hurt, either. -- There are 10 kinds of people -- those that understand binary, and those that don't.
In Section
Seekers of Perl Wisdom
|
|