pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/p5-Devel-Caller



Module Name:    pkgsrc
Committed By:   abs
Date:           Mon Jul 14 09:24:50 UTC 2008

Update of /cvsroot/pkgsrc/devel/p5-Devel-Caller
In directory ivanova.netbsd.org:/tmp/cvs-serv28529

Log Message:
Added devel/p5-Devel-Caller version 2.03

This provides a 'meatier' version of caller:

caller_cv($level)

    caller_cv gives you the coderef of the subroutine being invoked
    at the call frame indicated by the value of $level

caller_args($level)

    Returns the arguments passed into the caller at level $level

caller_vars( $level, $names ) =item called_with($level, $names)

    called_with returns a list of references to the original
    arguments to the subroutine at $level. if $names is true, the
    names of the variables will be returned instead

    constants are returned as undef in both cases

called_as_method($level)

    called_as_method returns true if the subroutine at $level was
    called as a method.

Status:

Vendor Tag:     TNF
Release Tags:   pkgsrc-base
                
N pkgsrc/devel/p5-Devel-Caller/Makefile
N pkgsrc/devel/p5-Devel-Caller/DESCR
N pkgsrc/devel/p5-Devel-Caller/distinfo

No conflicts created by this import



Home | Main Index | Thread Index | Old Index