This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
perlapi: Place in dictionary sort order
[perl5.git]
/
lib
/
perl5db
/
t
/
symbol-table-bug
1
#!/usr/bin/perl
2
#
3
# This code is used by lib/perl5db.t !!!
4
#
5
6
use strict;
7
no strict 'refs';
8
my %main = %{*{"main\::"}} ;
9
my @undef_symbols = grep { !defined $main{$_} } (keys %main);
10
print 'Undefined symbols ', scalar(@undef_symbols) . "\n";
11