Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Call C DLL Functions in Perl

by ikegami (Patriarch)
on Feb 09, 2012 at 11:15 UTC ( [id://952687]=note: print w/replies, xml ) Need Help??


in reply to Call C DLL Functions in Perl

By the way,
($sec,$min,$hour,$day,$month,$year) = localtime($rv_bstr); # correct the date and month for humans $year = 1900 + $year; $month++; printf "%02d/%02d/%02d %02d:%02d:%02d\n", $year, $month,$day, $hour, $ +min, $sec;
can be written as
use POSIX qw( strftime ); print strftime "%Y/%m/%d %H:%M:%S\n", localtime($rv_bstr);

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2024-04-23 07:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found