Do you know where your variables are? | |
PerlMonks |
Re: (jeffa) Re: Code review and question for parts scriptby bprew (Monk) |
on Oct 31, 2002 at 04:52 UTC ( [id://209344]=note: print w/replies, xml ) | Need Help?? |
Thanks for your review, I was wondering about that kludge on 419. Unfortunately, this is on a hosted system, so I don't have access to Text::CSV or Text::CSV_XS (which is a pre-req for DBD::CSV). I will make a request to see if I can get those modules installed. I should have mentioned that in my first post... Same goes for Class::DBI, although I hadn't thought of using it. It looks pretty slick, so even if I don't get it installed on the hosted system, I will install it on my system and play around with it. When I declare a global variable is it like this?:
I normally like to stay away from global variables, but in this case I think you're right. The size of the script and the basic interaction make good reasons to have a couple of global variables... although I want to keep them read-only. Thanks for all your help and the discussion :)
In Section
Seekers of Perl Wisdom
|
|