++ed by:
HKOBA

1 PAUSE user
3 non-PAUSE users.

MATSUNO★…Tokuhiro
and 3 contributors

NAME

Test::Kantan::Caller - Kantan caller

SYNOPSIS

    my $caller = Test::Kantan::Caller->new();

DESCRIPTION

This is the caller object for Test::Kantan.

METHODS

my $caller = Test::Kantan::Caller->new([$level=0[, $binmode="<:encoding(utf-8)"])

Create new Test::Kantan::Caller object from the caller information.

$level: Caller level.

$binmode: Binmode for reading source code.

Return Value: New object. If there is no caller, return () or undef.

ATTRIBUTES

package

The caller package name

filename

The caller file name.

line

The caller line number.

code

The source code at caller file at line number.