Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2016-10-25 01:46 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (313 votes). Check out past polls.