Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^9: Gettting the last Friday of every month using Time::Piece

by runrig (Abbot)
on Jun 30, 2014 at 23:39 UTC ( [id://1091779]=note: print w/replies, xml ) Need Help??


in reply to Re^8: Gettting the last Friday of every month using Time::Piece
in thread Gettting the last Friday of every month using Time::Piece

What's the difference between Time::Piece::_wday and Time::Piece::day_of_week?
What's the difference between:
$t->_wday # 0 = Sunday
And:
$t->day_of_week # 0 = Sunday
Answer: One is spelt "_wday", and the other is spelt "day_of_week". But I thought I already answered that question above (if you read carefully). But you can also tell by the source code (as a last resort):
*day_of_week = \&_wday;

Replies are listed 'Best First'.
Re^10: Gettting the last Friday of every month using Time::Piece
by Jim (Curate) on Jul 01, 2014 at 19:20 UTC
    But I thought I already answered that question above (if you read carefully).

    You did, and I overlooked it. Mea culpa. I'm sorry.

    But you can also tell by the source code (as a last resort):  *day_of_week = \&_wday;

    I had actually done just that before I posted my question. There's always the source code, of course.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-04-23 07:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found