Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re^2: Perl oddities

by brian_d_foy (Abbot)
on Mar 01, 2005 at 17:31 UTC ( #435535=note: print w/ replies, xml ) Need Help??

in reply to Re: Perl oddities
in thread Perl oddities

Don't forget that labels escape strictures too. If Perl can tell what it is, strict doesn't care. With filehandles it knows by position. With labels, it's the colon. You can forward define subs too, and get away with it.

brian d foy <>

Comment on Re^2: Perl oddities
Replies are listed 'Best First'.
Re^3: Perl oddities
by TimToady (Parson) on Mar 01, 2005 at 21:16 UTC
    Perl 6 has no barewords at all. If Perl 6 can't tell what it is from context, it's an error. Classes must be predeclared or use the :: prefix, for instance. They aren't just bareword strings anymore.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2015-11-26 12:33 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (698 votes), past polls