Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Re (tilly) 2: Tie::Static

by MeowChow (Vicar)
on Jul 15, 2001 at 14:25 UTC ( [id://96845]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub static {
      my $called = join ":", caller();
    ...
    # usage
    static my $foo;
    static \ my ($foo, @bar, %baz);
    
  2. or download this
    static my $foo;
    $foo = 'blah' unless defined $foo;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2024-04-25 20:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found