Help for this page

Select Code to Download


  1. or download this
    use Getopt::Long qw(:config bundling);
    GetOptions('input-file|i=s' => \my @file);
    ...
    # ./script.pl -i - < /dev/null
    # echo test | ./script.pl
    # echo test | ./script.pl -i -