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

refactoring - is this layout a mess or should we leave well enough alone?

by archimago (Pilgrim)
on Oct 11, 2007 at 17:20 UTC ( [id://644284]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    EG/DB.pm
    EG/DB/
    ...
    EG/DB/Vendors.pm
    EG/DB/Employees.pm
    EG/Example.pm
    
  2. or download this
    package EG::DB.pm;
     use DBI;
    ...
      use EG::DB::Access;
      my $dbh        = EG::DB::Access->new();
      my $client_id  = $dbh->get_client_id_for_username($client_username);
    
  3. or download this
    EG::Example->get_client_id_for_username()
    
  4. or download this
           EG::DB::Access   (no match) 
           EG::DB::Clients  (no match) 
           EG::DB::Vendors  (no match) 
           EG::DB::Employee (match)
    
  5. or download this
           EG::DB::Access   (no match) 
           EG::DB::Clients  (no match) 
           EG::DB::Vendors  (no match) 
           EG::DB::Employee (no match) 
           EG::DB           (match)
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-19 00:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found