You are viewing the version of this documentation from Perl 5.005_04. View the latest version
$ARGV

contains the name of the current file when reading from <>.