#!/usr/bin/perl use warnings; use strict; open (FILE,"$ARGV[0]") or die "could not open file $ARGV[0] : $!"; while () { ???? print; } close (FILE);