Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: use strict

by borisz (Canon)
on Jun 01, 2004 at 13:00 UTC ( #358021=note: print w/replies, xml ) Need Help??


in reply to use strict

if you really need to do this,
my @interests = ( "foo", "bar", "blah" ); foreach (@interests) { no strict 'refs'; $$_ = "My interest is $_"; } foreach (@interests) { no strict 'refs'; print $$_ , "\n"; }
Boris

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (2)
As of 2023-03-29 03:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (70 votes). Check out past polls.

    Notices?