On 11 Aug 2000, Perl6 RFC Librarian wrote:

> @ARGS is a better choice for several reasons:
> 
>    1. It's closer to a word and so is faster to read [1]
> 
>    2. It's easier to explain and remember "Your command-line
>       args are contained in @ARGS"
> 
>    3. When you say "$var = $ARGS[2]" it's easier to glance
>       at and tell what you're getting quickly
> 
>    4. It makes it more consistent with other word-like
>       Perl vars like $VERSION.
> 
>    5. There's no expectation that it works like or should
>       be used like C's argv/argc

     6. (arguable) This way, $ARGV (name of current file while
        reading from <>) will not collid with @ARGS if sigils
        were dropped (aka Highlander notation).

Cheers,
Philip
-- 
Philip Newton <[EMAIL PROTECTED]>

Reply via email to