Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

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
    use warnings;
    say $o->get_name;
    eval {$o->new; 1} or warn $@;
    eval {'Named'->get_name; 1} or warn $@;
  2. or download this
    use warnings;
    tie my $p, 'Previous';
    $p = $_ for 'a' .. 'z';
  3. or download this
    #! /usr/bin/perl
    use warnings;
    use strict;
        print $t->ymd, "\n" if is_magical(join q(), $t->mon, $t->mday, $t-
        $t = $t + ONE_DAY;
  4. or download this
    (1)$ perl -MO=Deparse -e 'do("foo")->{bar};'
    do $foo{'bar'};
    -e syntax OK
    use strict 'refs';
    -e syntax OK
  5. or download this
    use warnings;
    my %uniq;
    undef @uniq{@separators};
    say 1 == keys %uniq ? 'Same' : 'Different';
  6. or download this
    use warnings;
    print Dumper \@result;

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (11)
As of 2015-11-30 16:10 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (777 votes), past polls