Help for this page

Select Code to Download


  1. or download this
     $r .= $chars[rand @chars] for 1 .. shift;
    
  2. or download this
    #!/usr/bin/perl -nw
    
    ...
        $p .= $chars[rand@chars];
        rs($p,$n-1);
    }