Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

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

by TimToady (Parson)
on Aug 02, 2003 at 01:37 UTC ( [id://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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-24 01:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found