> >Is $Select a global variable? Is that why it's got a capital letter? I >suspect that you're not coding under the rules of 'use strict'. I'm >not sure whether that indicates a problem with your program, but it >bears further investigation. > >Cheers! > >--Tom Phoenix >Stonehenge Perl Training >
Agree with Tom.Here the $Select is not a good variable name.:) >From perldoc perlstyle, ? You may find it helpful to use letter case to indicate the scope or nature of a variable. For example: $ALL_CAPS_HERE constants only (beware clashes with perl vars!) $Some_Caps_Here package-wide global/static $no_caps_here function scope my() or local() variables -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/