Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Typed declarations?

by LanX (Canon)
on Apr 28, 2012 at 14:05 UTC ( #967809=note: print w/ replies, xml ) Need Help??


in reply to Typed declarations?

Hmm at least there seems to be a compilation time check for the existance of the package:

lanx@nc10-ubuntu:~$ perl -c -e' my blabla $x;' No such class blabla at -e line 1, near "my blabla" -e had compilation errors.

vs.

lanx@nc10-ubuntu:~$ perl -c -e'{package blabla;} my blabla $x;' -e syntax OK

Cheers Rolf


Comment on Re: Typed declarations?
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (17)
As of 2014-07-10 13:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (210 votes), past polls