SPUG: must dumpvar.pl be required BEGIN

Yitzchak Scott-Thoennes sthoenna at efn.org
Wed Apr 1 16:45:10 PDT 2009

On Wed, April 1, 2009 4:06 pm, Michael R. Wolf wrote:
> print "These should pass\n";
> dumpValue \@should_pass;

There's your problem.  Perl doesn't know at compile time that dumpValue
is a subroutine rather than the method for an indirect method call.
If you want to use not-yet-compiled subs as such, use parens around the

More information about the spug-list mailing list