Help for this page

Select Code to Download


  1. or download this
    $ perl -Mstrict -Mwarnings -le '
        my @xml_paths = qw{
    ...
    20130211/ABC/input/daily/11337111.xml
    20130416/ABC/input/daily/11337101.xml
    20130614/ABC/input/daily/11337890.xml
    
  2. or download this
    #!/usr/bin/perl
    open(INFO,"$ARGV[0]");
    @array=<INFO>;
    close (INFO)
    
  3. or download this
    #!/usr/bin/perl
    
    ...
    open my $input_fh, '<', $ARGV[0];
    my @xml_paths = <$input_fh>;
    close $input_fh;