Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: magic eval variables

by zodiac (Beadle)
on May 04, 2000 at 11:53 UTC ( [id://10200]=note: print w/replies, xml ) Need Help??


in reply to magic eval variables

this is slow because evals are slow, the argument to eval is parsed every time the eval executes. $$_ would do the same, however this will not work with use strict;unless you define a variable foreach of them using my($big $list $of $all $the $varables $you $might $want $to $use)
the best way to do it is probably to use a hash: $objects{$_}->insert('end', $dat{$_});

Log In?
Username:
Password:

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

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

    No recent polls found