Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Breaking up a big module

by tobyink (Canon)
on Apr 25, 2019 at 13:44 UTC ( [id://1232986]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package Foo;
    require Foo::Bar; # load additional methods
    ...
      my $val = $self->_bb ( $args->{'foo'} );
    }
    1;
    
  2. or download this
    package Foo;  # not Foo::Bar!!!
    sub _aa {
    ...
      ...;
    }
    1;
    
  3. or download this
    sub aa {
      my ( $self, $args ) = @_;
      require Foo::Bar;
      my $val = $self->_aa ( $args->{'bar'} );
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (10)
As of 2024-04-18 08:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found