projects
/
p5sagit/p5-mst-13.2.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Add the debugger script which tests for undefs in the symbol table
[p5sagit/p5-mst-13.2.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