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!Time::Piece->strptime
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Aliasing Module->method
by LanX (Saint) on Feb 06, 2016 at 20:55 UTC | |
by gerases (Sexton) on Feb 06, 2016 at 23:17 UTC | |
Re: Aliasing Module->method
by stevieb (Canon) on Feb 06, 2016 at 19:23 UTC | |
by gerases (Sexton) on Feb 06, 2016 at 23:10 UTC |
Back to
Seekers of Perl Wisdom