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

Re^3: Generic accessor for inside-out objects...

by Joost (Canon)
on Dec 10, 2007 at 22:15 UTC ( [id://656252]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # file Foo.pm
    use strict;
    ...
    sub foo {
     return $bee++;
    }
    
  2. or download this
    # some other file Bar.pm
    use strict;
    ...
    sub bar {
      return $bee;
    }
    
  3. or download this
    # file Foo.pm
    package Foo;
    our $blah = 2; # or use vars
    
  4. or download this
    #file Bar.pm
    package Bar;
    print $Foo::blah;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2024-04-18 21:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found