Do you know where your variables are? | |
PerlMonks |
Re: Re: Re: my sub ?by maverick (Curate) |
on Mar 25, 2002 at 20:06 UTC ( [id://154198]=note: print w/replies, xml ) | Need Help?? |
Yes it does, but if you just stick $ref; out there by itself, or with () after it, perl doesn't get that that's supposed to be a function call and throws a syntax error.
Or you could use $ref->(); It's monday and I'm being a blonde. Update:Thanks chromatic, Fletch, and shotgunefx for the clue-by-four-ing.
/\/\averick
In Section
Seekers of Perl Wisdom
|
|