kingjamesid has asked for the wisdom of the Perl Monks concerning the following question:
I dont get the caller function fill the vars and when i print, nothing in output, ideas?my ($a, $b) = (2,3); sub test{ ($package, $filename, $line, $subr, $has_args, $wantarray ) = caller($ +a); print $package, $filename, $line, $subr, $has_args, $wantarray ; }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: caller function in windows?
by moritz (Cardinal) on Sep 24, 2009 at 11:52 UTC | |
by eye (Chaplain) on Sep 27, 2009 at 05:28 UTC | |
Re: caller function in windows?
by ccn (Vicar) on Sep 24, 2009 at 11:56 UTC |