in reply to Re: 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 (and there is already some checking of package names); everything else would work out to a normal syntax error or a nonexistent package error.
That said, I'm fine with Perl's "if you want to do something stupid, who are we to stop you?" philosophy.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Perl allows package names consisting entirely of colons
by BrowserUk (Patriarch) on Nov 27, 2012 at 14:37 UTC | |
|
Re^3: Perl allows package names consisting entirely of colons
by Your Mother (Archbishop) on Nov 27, 2012 at 18:42 UTC | |
by BrowserUk (Patriarch) on Nov 27, 2012 at 19:28 UTC | |
by Your Mother (Archbishop) on Nov 27, 2012 at 19:47 UTC | |
by ColonelPanic (Friar) on Nov 28, 2012 at 08:48 UTC |