Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Breaking up a big module

by talexb (Chancellor)
on Apr 25, 2019 at 12:38 UTC ( [id://1232977]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package Foo;
    sub aa {
    ...
    sub _bb {
      my $self, $fazoo ) = @_;
    }
    
  2. or download this
    package Foo::Bar;
    sub _aa { my $self, $quux ) = @_; }
    ..
    
  3. or download this
    package Foo;
    sub aa {
    ...
      my $val = Foo::Bar::_aa ( $self, $args->{'bar'} );
    }
    ..
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1232977]
Front-paged by Corion
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: (3)
As of 2024-04-19 19:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found