Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: Perl allows package names consisting entirely of colons

by BrowserUk (Pope)
on Nov 27, 2012 at 14:37 UTC ( #1005868=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Perl allows package names consisting entirely of colons
in thread Perl allows package names consisting entirely of colons

I don't think this would not be a significant cost. Only the package declaration would have to be checked ...

Is that true? What about?:

::::::::fred = 1;

But also, once you start trying to validate this, what other additional rules are you going to add? Should we allow package _::_::_;?

That said, I'm fine with Perl's "if you want to do something stupid, who are we to stop you?" philosophy.

I also think that we should stick to that principle.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

RIP Neil Armstrong


Comment on Re^3: Perl allows package names consisting entirely of colons
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (12)
As of 2014-07-31 15:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (249 votes), past polls