Help for this page

Select Code to Download


  1. or download this
    my $file=<>;
    
  2. or download this
    my $file = shift @ARGV;  # get first argument
    my $nfile = shift @ARGV; # get next argument
    
  3. or download this
    my $file  = shift;
    my $nfile = shift;
    
  4. or download this
    my ($file,$nfile) = @ARGV;
    
  5. or download this
    open FILE,">$file" or die "Can't open $file: $!"