Welcome to the Monastery | |
PerlMonks |
Aliasing Module->methodby gerases (Sexton) |
on Feb 06, 2016 at 18:54 UTC ( [id://1154574]=perlquestion: print w/replies, xml ) | Need Help?? |
gerases has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
It seems that Time::Piece module doesn't export strptime. So the only way to use it is to do:
Which is too long. Can I alias some "x" to Time::Piece->strptime? I tried the things offered here: http://docstore.mik.ua/orelly/perl/cookbook/ch10_15.htm but that doesn't seem to work. Thanks for any ideas!
Back to
Seekers of Perl Wisdom
|
|