projects
/
p5sagit/p5-mst-13.2.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[ PATCH ] mymalloc on HP-UX
[p5sagit/p5-mst-13.2.git]
/
lib
/
FindBin.t
1
#!./perl
2
3
BEGIN {
4
# Can't chdir in BEGIN before FindBin runs, as it then can't find us.
5
@INC = -d 't' ? 'lib' : '../lib';
6
}
7
8
print "1..1\n";
9
10
use FindBin qw($Bin);
11
12
print "# $Bin\n";
13
14
if ($^O eq 'MacOS') {
15
print "not " unless $Bin =~ m,:lib:$,;
16
} else {
17
print "not " unless $Bin =~ m,[/.]lib\]?$,;
18
}
19
print "ok 1\n";