[Omaha.pm] Lost in Plack

Jay Hannah jay.hannah at iinteractive.com
Wed Oct 5 14:06:27 PDT 2011


haha... no clue what's going on...

j




https://github.com/miyagawa/Plack/blob/master/lib/Plack/Builder.pm#L63

our $_add = our $_add_if = our $_mount = sub {
    Carp::croak("enable/mount should be called inside builder {} block");
};

sub add      { Carp::carp("add is deprecated. Use 'enable'"); $_add->(@_) }
sub enable         { $_add->(@_) }





More information about the Omaha-pm mailing list