Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
Syntactic Confectionery Delight
 
PerlMonks  

Re: Re: Forcing Compile Time Checking That Subs Exist

by sierrathedog04 (Hermit)
on Jun 04, 2001 at 23:40 UTC ( #85578=note: print w/ replies, xml ) Need Help??


in reply to Re: Forcing Compile Time Checking That Subs Exist
in thread Forcing Compile Time Checking That Subs Exist

Removing the parentheses when calling "referrer()" instead of the properly (for CGI.pm) spelled referer() seems to have no effect. Perl only catches the error at runtime.


Comment on Re: Re: Forcing Compile Time Checking That Subs Exist
(tye)Re: Forcing Compile Time Checking That Subs Exist
by tye (Cardinal) on Jun 04, 2001 at 23:47 UTC

    japhy's suggestion only works if you are importing the functions from CGI and not using the OO interface.

            - tye (but my friends call me "Tye")

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://85578]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2014-04-21 04:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (490 votes), past polls