On Mon, Apr 16, 2007 at 05:27:24AM +0900, Benjohn Barnes wrote:
> 
> What _is_ ARGF? I've printed it's class, but apparently it is:
> 
> >irb(main):003:0> ARGF.class
> >=> Object
> 
> ... an Object.
> 

Now that I know ARGF exists . . .

http://www.danvk.org/wp/?m=200701 reports the following:

  ARGF is a great crutch for Perl programmers who miss typing while(<>)
  {...}. It opens each input file left in ARGV and yields each line. If
  there no input files left, it reads STDIN and yields each line it
  gets there. Many, many programs do their work in an ARGF loop.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
McCloctnick the Lucid: "The first rule of magic is simple. Don't waste
your time waving your hands and hopping when a rock or a club will do."