Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Global vs. local?

by shmem (Chancellor)
on May 28, 2009 at 11:55 UTC ( [id://766635]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    foreach my $j (0..$i-1) {
        $SUB = $j."Textfield_MaxText";
        ...
            *$SUB = sub { variableMaxText(0); };
    
  2. or download this
    $SUB = "1Foo";
    *$SUB = sub {print "$SUB!\n"};
    1Foo();
    Bareword found where operator expected at -e line 3, near "1Foo"
            (Missing operator before Foo?)
    
  3. or download this
    $SUB = "1Foo";
    *$SUB = sub {print "$SUB!\n"};
    &{"1Foo"};
    __END__
    1Foo!
    

Log In?
Username:
Password:

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

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

    No recent polls found