Help for this page

Select Code to Download


  1. or download this
    use Scalar::Util 'blessed';
    
    sub curried_can
    ...
        # first argument is a class name, curried arguments
        return sub { $sub->( @_ ) };
    }