in reply to Your named arguments

I use the following (boring) method:

sub { my %o = @_; # o for options # ... }

However, broquaint recently had a nice solution: Named arguments in Perl5. Sorta.

Good Day,
    Dean

Replies are listed 'Best First'.
Re^2: Your named arguments
by broquaint (Abbot) on Nov 08, 2005 at 15:20 UTC
    That solution morphed into Params::Named and would be applied like so:
    use Params::Named; sub convert { MAPARGS \my($from, $to, $thing); ... }
    HTH

    _________
    broquaint