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

Re: Perl 5 -> 6 do's and don'ts?

by TimToady (Parson)
on Aug 02, 2003 at 01:37 UTC ( #280206=note: print w/replies, xml ) Need Help??

in reply to Perl 5 -> 6 do's and don'ts?

Probably the biggest thing in my mind is that you shouldn't rely on the current dynamic scoping behavior of $_ because it'll be lexically scoped in Perl 6. Anything that uses select is also highly suspect.

Replies are listed 'Best First'.
Re: Re: Perl 5 -> 6 do's and don'ts?
by belg4mit (Prior) on Aug 02, 2003 at 03:16 UTC
    I presume you mean 2-arg select, or is 4-arg also going the way of the dodo?

    I'm not belgian but I play one on TV.

      We would already have deprecated 4-arg select if we had anything decent to replace it with. Filehandles aren't well represented by small integers in Perl. Indeed, some filehandles map to more than one file descriptor underneath. Filehandles (and all other event-producing entities) need to be tied together with a consistent event-handling model.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://280206]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2018-04-24 05:44 GMT
Find Nodes?
    Voting Booth?