develooper Front page | perl.perl5.porters | Postings from December 2007

Re: "strict refs" not strict enough

Thread Previous | Thread Next
From:
Aristotle Pagaltzis
Date:
December 28, 2007 06:25
Subject:
Re: "strict refs" not strict enough
Message ID:
20071228142531.GJ564@klangraum
* Peter Scott <Peter@PSDT.com> [2007-12-28 15:15]:
> I see 'refs' as mostly useful for slapping the hand of someone
> who thinks they need to use the contents of one variable as the
> name of another.

I don’t: there are plenty of legitimate uses for that. Whenever I
muck around in the symbol table I wish there was an easier way to
signal my intent to Perl than `no strict 'refs'`.

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About