Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Object Oriented Pattern help

by thefid (Friar)
on May 14, 2001 at 05:45 UTC ( [id://80128]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package Event;
    use base qw(Class::DBI);
    ...
    Event->set_db('Main', 'dbi:mysql:xxx', 'xxx', 'xxx' );
    
    1;
    
  2. or download this
    #!/usr/bin/perl -w
    
    ...
                     modify_guest => 'modify_guest()'  });
    $dbh->disconnect();
    exit;
    
  3. or download this
    Benchmark: timing 1000 iterations of modify_event, modify_guest...
    modify_event:  7 wallclock secs ( 5.25 usr +  0.26 sys =  5.51 CPU)
    modify_guest:  5 wallclock secs ( 2.89 usr +  0.15 sys =  3.04 CPU)
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-04-25 04:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found