Help for this page

Select Code to Download


  1. or download this
    perl foo.pl --channel="1,forever" --channel="2,1:20" \
      --channel="3,2:50" --channel="7,forever"
    
  2. or download this
    #!/usr/bin/perl
    use strict;
    ...
    my @channels;
    GetOptions('channel=s' => \@channels);
    print Dumper(\@channels);