Looks like a conflict of interest there. Can't really shift if you aren't allowing anything to be passed. Trysub find_paring() { my $white_player = shift;
I think you'll be happier.sub find_paring { my $white_player = shift;
In reply to Re: Re: Question regarding variable scope
by Rhandom
in thread Question regarding variable scope
by jpfarmer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |