Stories
Slash Boxes
Comments
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.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • For me, the beauty of 'aliased' lies mostly in its shortcutting of names. If I'd want to make an API to declare multiple of these in one, I would probably do...

    use aliased::all 'Foo::Bar' => qw( Baz Quux Fnord );

    my $baz   = Baz->new;
    my $quux  = Quux->new;
    my $fnord = Fnord->new;

    With this, it is IMO short enough, explicit enough, and contains no surprises.

    --
    Ordinary morality is for ordinary people. -- Aleister Crowley