Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

(jeffa) Re: My first stab at OO perl...

by jeffa (Bishop)
on Jul 16, 2002 at 15:54 UTC ( [id://182120]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub new {
       my $class = shift;
    ...
       };
       return bless $self, $class;
    }
    
  2. or download this
    $newexp->{_ID} = $#expenses + 1;
    
  3. or download this
    $newexp->{_ID} = scalar @expenses;
    
  4. or download this
    local $Data::Dumper::Indent = 3;
    
  5. or download this
    # open file
    my $file = do {local $/; <REPORT>};
    
  6. or download this
    $self->{$hiddenkey} = shift if @_;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://182120]
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-19 21:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found