Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://92998]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2016-12-08 07:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (135 votes). Check out past polls.