Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Re: Uncommon* but Useful Perl Command Line Options

by ysth (Canon)
on Jan 28, 2004 at 19:37 UTC ( [id://324844]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re: Uncommon* but Useful Perl Command Line Options
in thread Uncommon* but Useful Perl Command Line Options for One-liners

-a only works in combination with -n or -t
I assume this is a typo and Abigail meant -n or -p.

Actually, even without -n or -p, the -a switch does have the very minor effect of creating @F, so that referring to it won't get you a Name "main::F" used only once: possible typo warning. (And *F{ARRAY} will give a reference to @F even if no @F is mentioned anywhere, instead of the usual undef.)   These could be construed as a bug.

Replies are listed 'Best First'.
Re: Re: Re: Uncommon* but Useful Perl Command Line Options
by thor (Priest) on Jan 28, 2004 at 20:17 UTC
    These could be construed as a bug. (sic)
    ..or as devious tools to use for strict-safe obfuscation. Mu-ha-ha-ha-ha. ;)

    thor

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://324844]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.