Alexey Trofimenko skribis 2004-11-30  3:17 (+0300):
> but talking about oneliners and short shell-like scripts, where `` is  
> pretty useful.. hm.. things good for oneliners are rarely as good for  
> larger programs, and vice versa. Of course, Perl5 proves opposite, but  
> Perl6 tends to be a little more verbose, and even in Perl5 we use quite  
> different "toolbox" and style for mentioned above. Why not to make an  
> average sized module of various "shortcut" grammars, with a very short  
> name ("x", f.e.), with defaults to export :all, so we could just do
>   perl -Mx -e 'print `echo this is a perl5qx`'

For oneliners, I think I'd appreciate using -o for that. The module
itself can be Perl::OneLiner. Things the module could do:

* introduce `` and qx
* disable the default strict
* enable warnings for things like open, print, close
* introduce shortcuts like mv, cp, cd


Juerd

Reply via email to