Do you know where your variables are? | |
PerlMonks |
Re: checking substring for numbersby bedk (Pilgrim) |
on Aug 01, 2002 at 20:10 UTC ( [id://186919]=note: print w/replies, xml ) | Need Help?? |
You've got a scoping problem, I think.
'my' gives you a variable local to a block, so as soon as
you hit the right curly brace your $shopID goes away.
Brian
In Section
Seekers of Perl Wisdom
|
|