when I use strict , it gives me :my $ret = GetOptions( "u|updated:s"); my $update = $opt_u || die "Usage: $0 -u update_ID\n";
but without strict , it works fine .. thanks for helpGlobal symbol "$opt_u" requires explicit package name at c:/Perl/MyScr +ipts/updlnt.pl line 27.
In reply to Error when using strict pragma by Sara
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |