Orchid Fairy (兰花仙子) wrote:
> Hello John & list,
>
> We could use a module in one-liner perl command as:
>
> perl -MPOSIX -e '';
>
> But if I want to use something like:
>
> use POSIX qw/strftime/;
>
> how to do it with perl command line?
>
> Thanks.
>
perl -MPOSIX=strftime -e 'print strftim
Hello John & list,
We could use a module in one-liner perl command as:
perl -MPOSIX -e '';
But if I want to use something like:
use POSIX qw/strftime/;
how to do it with perl command line?
Thanks.
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beg