Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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.


Comment on Re: Perl 5 -> 6 do's and don'ts?
Select or Download Code
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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (10)
As of 2014-07-25 21:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (175 votes), past polls