Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Time? 1

Status
Not open for further replies.

hacox

Programmer
Jun 4, 2002
10
US
Code:
use Time::localtime;
@list=localtime();
print "@list\n";

I just started a new job and I am trying to work with localtime and I am getting strange output. Why am I getting this output?
Time::tm=ARRAY(0x2f8dc)


 
Check out the Time::localtime documentation to see how to use this module. Do you really want to use Time::localtime, because the code would work without it? Try the following:

@list=localtime();
print "@list\n";
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top