This contains NEW info, there is always something new to learn along the perly path CB snapshot 2003-02-04 Corion: yeah, just noticed :-/ broquaint trundles off to a meeting I think $ARGV[0] is for the next file... Mmm. So is there actually a way to track the current file with ARGV? $ARGV BazB: The scalar $ARGV contains the name of the currently open file, and @ARGV contains all the command line arguments. One whole family: ARGV the handle, $ARGV the filename, @ARGV the list of files still to process Sorry, Corion, got confused by broquaint's comment. Thanks, Corion, bart. castaway files away that bit of info for later use :)