Help for this page

Select Code to Download


  1. or download this
    C:\chas_sandbox\pwgen>
    copy con randfromtwo.pl
    ...
    randfromtwo.pl
    3c2
    C:\chas_sandbox\pwgen>
    
  2. or download this
    C:\chas_sandbox>
    perl -Mdiagnostics -le "sub doit{$ref=$_;${$ref} = 'nope'};$str='cwh';
    +print $str
    ...
    cwh
    
    C:\chas_sandbox>
    
  3. or download this
    C:\chas_sandbox>
    perl -Mdiagnostics -le "sub doit{$ref=$_;\\$ref = 'nope'};$str='cwh';p
    +rint $str;doit($str);print$str"
    ...
     at -e line 1
    
    C:\chas_sandbox>
    
  4. or download this
    #/usr/bin/perl -Wl
    
    ...
            print Dumper($reresult);
        }else{ print "  badstring\n"}
    }
    
  5. or download this
    startrule: commandline{$item{commandline}}
    commandline: command options {[$item {command},$item{options}]}
    ...
    option: optionflag optionvalue { [$item{optionflag}, $item{optionvalue
    +}?$item{optionvalue}:1] }
    optionflag: /(-\w+)/ { $1 }
    optionvalue: /(\w*)/ { $1 }
    
  6. or download this
    hap -b
    hap -b sknxharvest01
    ...
    hap -prompt
    hap -b sknxharvest01 -prompt
    hap -prompt -b sknxharvest01