Help for this page

Select Code to Download


  1. or download this
     
    #!/usr/bin/perl
    use Getopt::Long;
    ...
    GetOptions ("file=s" => \$data,) or die("Error in command line argumen
    +ts\n");
    @file=glob($data); #globbing to pick '*.xml'
    }
    
  2. or download this
    ./script -f config.xml
    ./script -f '*.xml'