readline reads from *ARGV if you don't provide an operand.
Improve your skills with Modern Perl: the free book.
In reply to Magical ARGV Readline by chromatic in thread Noob Question by nick1984