projects
/
pkg-perl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Modified source files and compiled any and armel versions of packages
[pkg-perl]
/
deb-src
/
libtest-exception-perl
/
libtest-exception-perl-0.27
/
t
/
caller.t
1
#!/usr/bin/perl -Tw
2
3
# Make sure caller() is undisturbed.
4
5
use strict;
6
use warnings;
7
8
use Test::Exception;
9
use Test::More tests => 2;
10
11
eval { die caller() . "\n" };
12
is( $@, "main\n" );
13
14
throws_ok { die caller() . "\n" } qr/^main$/;