Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: no strict refs for blocks?

by moritz (Cardinal)
on Nov 02, 2011 at 11:13 UTC ( [id://935354]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -Mstrict -wE 'sub f { say "f" }; my $x = "f"; { no strict "refs
    +"; &$x() }; &$x()'
    f
    Can't use string ("f") as a subroutine ref while "strict refs" in use 
    +at -e line 1.
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-26 08:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found