Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Questions about split

by damian1301 (Curate)
on Jul 01, 2001 at 11:04 UTC ( #92998=note: print w/ replies, xml ) Need Help??


in reply to Questions about split

I may be wrong, but I don't think you are supposed to have those brackets around your offset. Another way to do what you want is simply to do something like...

my($user, $var) = split /:/, $_, 2; $foo{$user} = $var;


Or maybe I've misunderstood something

$_.=($=+(6<<1));print(chr(my$a=$_));$^H=$_+$_;$_=$^H; print chr($_-39); # Easy but its ok.


Comment on Re: Questions about split
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2014-12-22 08:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (112 votes), past polls