Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: RFC: New style for argument check in subs

by Tux (Abbot)
on Sep 05, 2012 at 15:05 UTC ( #991876=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use DBI;
    my $dbh = DBI->connect (
    ...
        {   f_ext    => ".csv/r",   # Named and defined
            f_schema => undef,      # Named and undefined
            });
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://991876]
help
Chatterbox?
[Corion]: gnosti: I would cheat and use my approach instead of dealing with durations as objects, or a module
[Corion]: You could even do the calculation directly - my $duration = $H * 3600+ $M*60 + $S; strftime '%H:%M:%S', timelocal($duratio n)
[Corion]: (and that strftime call is largely superfluous too, converting back to H:M:S isn't hard either)

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2017-08-18 09:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (297 votes). Check out past polls.

    Notices?