in reply to What is $_

That's a little like asking what is "The Moon" :^). Alternatively, like trying to discern a name for that squiggle that TAFKAP now (once?) use(s|d?).

Personally I've always referred to it verbally as "dollar-underscore".

Though, is the same way as the Moon can be referred to using several synonyms--Luna, the Earth's (only?) natural satellite, "heartless orb that rules night and steals the colors from our sight"--so I similarly think of it in different terms depending upon the context.

E.g. default value, default iterator, default argument etc.

Or simply "The default", though that only makes any sense with more context.


Examine what is said, not who speaks.

The 7th Rule of perl club is -- pearl clubs are easily damaged. Use a diamond club instead.

Replies are listed 'Best First'.
Re: Re: What is $_
by glwtta (Hermit) on Jan 20, 2003 at 19:34 UTC
    the Earth's (only?) natural satellite

    Apparently there is a second and a third.

    Hope I don't get a (-1, Offtopic) for this :)

Re: Re: What is $_
by Mr. Muskrat (Canon) on Jan 20, 2003 at 19:38 UTC
    ++ for the Moody Blues quote