in reply to Stupid @ARGV question
As far as I know in your case $ARGV[0] is 'file1',
and $ARGV[1] is 'file2'. The output depends on
your program though, of which you have not included any source...
For the case-sensitivity: Perl variables are case sensitive, so
@argv is something else than @ARGV...
--HolyGrail