Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: what would you like to see in perl5.12? (bit shift strings)

by tye (Sage)
on Aug 21, 2007 at 19:44 UTC ( [id://634170]=note: print w/replies, xml ) Need Help??


in reply to what would you like to see in perl5.12?

Just a small thing: Have << and >> work on strings.

- tye        

Replies are listed 'Best First'.
Re^2: what would you like to see in perl5.12? (bit shift strings)
by ikegami (Patriarch) on Aug 21, 2007 at 19:48 UTC
    oh! yes please! I forgot about that limitation, but I've hit up against it before.
Re^2: what would you like to see in perl5.12? (bit shift strings)
by ysth (Canon) on Aug 21, 2007 at 23:07 UTC
    That would be nice, yes. There's a proposal on the books to have a pragma to enable this.
      <joke> There'd have to be a @{^carry} "register" to hold bits left-shifted off the front. </joke>

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-03-29 10:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found