Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Don Coyote's scratchpad

by Don Coyote (Monk)
on Jul 01, 2010 at 17:29 UTC ( #847567=scratchpad: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    die 'do not run this code';
    #get arguments;
    my ($filepathlist,$mountpoint)= @ARGV;
    
    die 'usage & defaults' if $filepathlist =~ /^-{0,2}h(elp)?\s*$/;
    
  2. or download this
    die 'do not run this code';
    $filepathlist = 'home/Documents/directorieslist' unless $filepathlist;
    ...
    
    }
    
  3. or download this
    #use default file, but changed my muntpoint recently;
    > perl ./fileunliker.pl path/to/mount
    
  4. or download this
    package HTML::LadyAleenaStyle;
    use strict;
    ...
    #  line(&$ind,qq(</$tag>));
    #  }
    #
    
  5. or download this
    package HTML::LadyAleenaStyle;
    use strict;
    ...
    
    1;
    
  6. or download this
    #!usr/bin/perl -Tw
    
    ...
    close($dh);
    
    exit 0;
    
  7. or download this
    
    my $newhashref = {};
    ...
    }
    
    my $ref_to_onelevelhash = rechash $ref_to_multilevelhash;
    
  8. or download this
    use strict;use warnings;
    
    ...
    
    exit 0;
    
  9. or download this
    use strict;
    use warnings;
    ...
    -------
              
    #an empty line is printed
    
  10. or download this
    perl -e "print undef if defined;"
    ----
    
    #prints an empty line
    
  11. or download this
    #!/usr/bin/perl -T
    
    ...
      print $k," 162:5 ",@{ $data{$k}->[162]}[5],$/;       
    }
     
    
  12. or download this
    #!/usr/bin/perl -T
    
    ...
    #
    #print $data{$k}->[0];
    
  13. or download this
    for ( 0 .. $#snp_bins ) {
             
    ...
       push( @{ $data{$id}[ $snp_bins[$_] ] }, @ones )
      }
    }
    
  14. or download this
            foreach my $index ( 0 .. $#snp_bins ) {
                if ( $snps[$index] ) {
    ...
                    push( @{ $data{$id}[ $snp_bins[$index] ] }, @ones_arra
    +y )
                }
    
  15. or download this
    xxxxxxxxxxxxxxxx
    for (0..$#snps){
    ...
    
    }
    xxxxxxxxxxxxxxxxxxxx
    
  16. or download this
    
    foreach my $idkey (keys %data){
    ...
    
    }
    
  17. or download this
    @{ $data{$id}[ $snp_bins[$_] ] } = map @snps, 0..$#{ $data{$idkey}[ $_
    + ] }, 
       : 
       @{ $data{$id}[ $snp_bins[$_] ] }->[0..99] = "1 1," x 100;
    
  18. or download this
    
    foreach my $idkey (keys %data){
    ...
    
    }
    
  19. or download this
    hash {
         HG06004 => [  #hash  $data{$idkey} =>  #Array snps_bins
    ...
              [
            }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (11)
As of 2014-07-10 22:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (217 votes), past polls