Gossamer Forum
Home : General : Perl Programming :

Re: [kfuruta] Newbie Help with eplicit package name

Quote Reply
Re: [kfuruta] Newbie Help with eplicit package name In reply to
Eek.

You are using "strict" but aren't declaring all your variables with my()

Regarding that huge list of my()'s you have, you'd be far better creating a subroutine to map all the parameters into a hash or something so you can do:

my %params = _load_params();

Then you can do stuff like:

$param{version}
Subject Author Views Date
Thread Newbie Help with eplicit package name kfuruta 5938 May 8, 2003, 8:56 AM
Thread Re: [kfuruta] Newbie Help with eplicit package name
Paul 5734 May 8, 2003, 9:07 AM
Post Re: [Paul] Newbie Help with eplicit package name
sleve 5595 May 24, 2003, 8:26 PM
Post Re: [kfuruta] Newbie Help with eplicit package name
fuzzy logic 5751 May 8, 2003, 9:08 AM
Thread Re: [kfuruta] Newbie Help with eplicit package name
kfuruta 5708 May 8, 2003, 4:26 PM
Post Re: [kfuruta] Newbie Help with eplicit package name
Paul 5692 May 8, 2003, 4:29 PM