in reply to Can I Force perl to Check Subroutine References at Compile Time?
my $foo = 1; if ($foo eq "1") { print hello(); } sub helloBROKEN { print "hello world\n"; }
Update: The question said compile time - doh! - thanks eg, I need to pay more attention!
Update 2: Thanks spaz! I admit I didn't deparse it so it's nice to see the confirmation.
--
I'd like to be able to assign to an luser
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Deparse to the rescue!
by spaz (Pilgrim) on Jan 26, 2001 at 03:55 UTC | |
|
Re: Re: Can I Force perl to Check Subroutine References at Compile Time?
by eg (Friar) on Jan 26, 2001 at 00:08 UTC |