Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re^2: Derive a variable name from a variable?

by LanX (Sage)
on Dec 21, 2015 at 15:51 UTC ( #1150865=note: print w/replies, xml ) Need Help??

in reply to Re: Derive a variable name from a variable?
in thread Derive a variable name from a variable?

This is only half the answer because using strict is a standard nowadays.

There might be cases where this is needed, but please apply no strict "refs" in a restricted block around it and use strict; in file scope.

see for instance no strict refs for blocks?

> there might be some jedi,

> who'd tell you that it's wrong

> they just want you to obey their will

Perl has no taboos, just best practices.

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2023-01-30 18:03 GMT
Find Nodes?
    Voting Booth?

    No recent polls found