Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    
    ...
    getopts('x:o:d:m:', \%switches);
    
    print Dumper \%switches;
    
  2. or download this
    $ ./test.pl -o outputfile -x xmlfiles -d disk1 -m memory1         
    $VAR1 = {
    ...
              'x' => 'xmlfiles',
              'o' => 'outputfile'
            };
    
  3. or download this
    #!/usr/bin/perl -w
    
    ...
    }
    
    print Dumper \%switches;
    
  4. or download this
    $ ./test.pl -o outputfile -x xmlfiles -d 'disk1 disk2' -m 'memory1 mem
    +ory2'
    $VAR1 = {
    ...
                       'outputfile'
                     ]
            };