Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: Custom date string formatting

by nelio (Novice)
on Feb 01, 2007 at 13:59 UTC ( [id://597743]=note: print w/replies, xml ) Need Help??


in reply to Re: Custom date string formatting
in thread Custom date string formatting

Since I'm getting the input as a string and not as a date, and since I really don't want to do any datetime calculations (just present the date in a different way) I figured out that using POSIX would be like trying to kill a fly with a 9 inch cannon.
Also the environment I'm working on is kinda restrictive, so any module that's not installed by default should be considered "exotic".

Nelio

Replies are listed 'Best First'.
Re^3: Custom date string formatting
by f00li5h (Chaplain) on Feb 02, 2007 at 08:37 UTC

    Aah, yes, but if later you find yourself wanting to do more date manipulations, and finding that the fly spray you have won't work against the larger flying animals.

    Also, you're going to have to install your script on anyway, worst case, you have a use lib q[./lib]; and a lib directory with your script... best case, you just drop it in the same directory as your script (since . is generally in @INC anyway) Cpan as non root also offers helpful advice

    90% of your project is only done if you reuse code.

    ... having said that, i'm sure you have your reasons

    @_=qw; ask f00li5h to appear and remain for a moment of pretend better than a lifetime;;s;;@_[map hex,split'',B204316D8C2A4516DE];;y/05/os/&print;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2024-04-25 14:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found