Help for this page

Select Code to Download


  1. or download this
    $ perl -E 'say for @ARGV' file_1 file_2
    file_1
    file_2
    
  2. or download this
    $ perl -E 'my @x = @ARGV; say for @x' file_1 file_2
    file_1
    file_2
    
  3. or download this
    $ perl -E 'say for @ARGV' -file_1 -file_2
    -i used with no filenames on the command line, reading from STDIN.
    
  4. or download this
    $ perl -E 'say for @ARGV' -- -file_1 -file_2
    -file_1
    -file_2