"be consistent" | |
PerlMonks |
Re: Shorten one liners with Class::Autouseby xdg (Monsignor) |
on Mar 23, 2007 at 14:09 UTC ( [id://606245]=note: print w/replies, xml ) | Need Help?? |
Interesting approach. Personally, I shorten one-liners by preloading common modules using a custom ToolSet.
Used like this: perl -MXDG -e 'say "Loaded modules:" and Dump \%INC'-xdg Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.
In Section
Cool Uses for Perl
|
|