Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

GotToBTru's scratchpad

by GotToBTru (Curate)
on Jun 15, 2010 at 13:25 UTC ( #844863=scratchpad: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    print $xslt->toString;
    
    $xslt->dispose();
    
  2. or download this
    for my $part (qw(eye ear lip teeth arm leg)) {
      my $parts = $part !~ /teeth/ ? $part.'s' : $part;
    ...
      push @{$body_specifics{$parts}}, map( "$_ $part", ('upper left','upp
    +er right','lower left','lower right') ) if $part =~ /(?:arm|leg)/;
    }
    push @{$body_specifics{'teeth'}}, map( "$_ teeth", qw(front canine bic
    +uspid molar wisdom) );
    
  3. or download this
    use strict;
    use warnings;
    ...
    my $s2 = (stat 'test2.file')[9];
    
    printf "Difference between mod times: %d\n",$s2 - $s1;
    
  4. or download this
    test$: perl teststat.pl
    Difference between mod times: 10
    test$:
    
  5. or download this
    use strict;
    use warnings;
    ...
      $key x= ( 1 + length($plain)/length($key) );
      return join '', map {$_ ^ substr($key,$i++,1)} (split '',$plain);
    }
    

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 scrutinizing the Monastery: (5)
As of 2014-12-29 04:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (184 votes), past polls