Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: Introducing Class::InsideOut

by xdg (Monsignor)
on Jan 09, 2006 at 23:20 UTC ( [id://522065]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # A Perl 6 class
    
    ...
    
        method clear () { $.x = 0; $.y = 0; }
    }
    
  2. or download this
    # A Perl 5 class
    
    ...
            $y[$$self] = 0; 
        }
    }
    
  3. or download this
    # A Perl 5 class -- take 2
    
    ...
    
    # still part of package Point outside the braces
    # but @x and @y can't be seen from out here
    
  4. or download this
    # A Perl 5 class -- take 3
    
    ...
    }
    
    # Back to package Foo out here
    

Log In?
Username:
Password:

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

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

      No recent polls found