Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • This reminds me of something I did once on a long Metro-North ride home from NYC after reading a having read a paper on Smalltalk.


    use strict;
    use warnings;

    use Test::More tests => 2;

        package Boolean;

        use strict;
        use warnings;

        sub import {
            no strict 'refs';
            *{(caller())[0] . '::cond'} = \&cond;

        sub cond (&) {
            my ($bloc