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

choroba's scratchpad

by choroba (Canon)
on Apr 02, 2010 at 15:13 UTC ( #832496=scratchpad: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #! /usr/bin/perl
    use warnings;
    use strict;
    ...
        print $t->ymd, "\n" if is_magical(join q(), $t->mon, $t->mday, $t-
    +>year);
        $t = $t + ONE_DAY;
    }
    
  2. or download this
    #!/usr/bin/perl
    use warnings;
    ...
    
    my $value = $html->findvalue('//form[@action="login.lp"]/input[@name="
    +rn"]/@value');
    print $value, "\n";
    
  3. or download this
    data:,
    
  4. or download this
    (1)$ perl -MO=Deparse -e 'do("foo")->{bar};'
    do $foo{'bar'};
    -e syntax OK
    ...
    use strict 'refs';
    do('foo')->{'bar'};
    -e syntax OK
    
  5. or download this
    #!/usr/bin/perl
    use warnings;
    ...
    my %uniq;
    undef @uniq{@separators};
    say 1 == keys %uniq ? 'Same' : 'Different';
    
  6. or download this
    #!/usr/bin/perl
    use warnings;
    ...
    }
    
    print Dumper \@result;
    

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 studying the Monastery: (5)
As of 2015-03-28 22:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:









    Results (627 votes), past polls