Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

GotToBTru's scratchpad

by GotToBTru (Prior)
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
    [tye]    gah, some kind of new-age meeting format.
    [Tanktalus]    Tanktalus is trying to imagine a meeting room full of l
    +ong-haired people wearing braids, smoking marijuana, and listening to
    + Zamphyr...
    [RonW]    That's the "old" "new age"
    [Tanktalus]    Tanktalus can't keep up :)
    
  2. or download this
    sub mapxml {
        my $xml = shift;
        my ($tag, $value, %xmlhash);
    ...
        }
        return \%xmlhash;
    }
    
  3. or download this
    use Test::Simple tests => 2;
    
    ...
      chomp $answer;
      return($answer);
    }
    
  4. or download this
    use strict;
    use warnings;
    ...
      my $i=0; my $j = length($key);
      return join '', map {$_^substr($key,$i++ % $j,1)} (split '',$plain);
    }
    
  5. or download this
     $pwd = join '', sort grep { ! $uniq{$_}++ } split //, $string;

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
[stevieb]: been thinking... if it wasn't for Perl, I believe that I'd be done in tech. I don't do social media or the like, if I'm not coding I'm not on a device at all, and don't miss comms at all when I'm not around. I code for my job (which I like), but I think..
[stevieb]: ...I haven't coughed up my laptop because of Perl.
[stevieb]: I think that Perl is the reason that I haven't gone 100% off grid :)

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2017-03-29 02:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (343 votes). Check out past polls.