Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Perl OO with Class::Struct

by tobyink (Abbot)
on Dec 13, 2013 at 16:21 UTC ( #1067037=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    my $cat1   = Cat->new(name=>'Garfield');
    my $cat2   = Cat->new(name=>'Felix');
    my $litter = Litter->new(cats => [$cat1, $cat2, 1]);
    
  2. or download this
    use strict;
    use warnings;
    ...
    my $cat1   = Cat->new(name=>'Garfield');
    my $cat2   = Cat->new(name=>'Felix');
    my $litter = Litter->new(cats => [$cat1, $cat2, 1]);
    
  3. or download this
    use Moops;
    
    ...
    my $cat1   = Cat->new(name=>'Garfield');
    my $cat2   = Cat->new(name=>'Felix');
    my $litter = Litter->new(cats => [$cat1, $cat2, 1]);
    
  4. or download this
    use strict;
    use warnings;
    ...
    my $cat1   = Cat->new(name=>'Garfield');
    my $cat2   = Cat->new(name=>'Felix');
    my $litter = Litter->new(cats => [$cat1, $cat2, 1]);
    
  5. or download this
    use strict;
    use warnings;
    ...
    my $cat1   = Cat->new(name=>'Garfield');
    my $cat2   = Cat->new(name=>'Felix');
    my $litter = Litter->new(cats => [$cat1, $cat2, 1]);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1067037]
help
Chatterbox?
[thezip]: oops... My mind is backwards (this works): find . -mindepth 2 -name "*.csv" | xargs wc -l

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (12)
As of 2016-12-06 18:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (113 votes). Check out past polls.