#!./perl
-
-# $Id: canonical.t,v 1.0 2000/09/01 19:40:41 ram Exp $
#
# Copyright (c) 1995-2000, Raphael Manfredi
#
# You may redistribute only under the same terms as Perl 5, as specified
# in the README file that comes with the distribution.
#
-# $Log: canonical.t,v $
-# Revision 1.0 2000/09/01 19:40:41 ram
-# Baseline for first official release.
-#
sub BEGIN {
if ($ENV{PERL_CORE}){
chdir('t') if -d 't';
- @INC = '.';
- push @INC, '../lib';
+ @INC = ('.', '../lib');
+ } else {
+ unshift @INC, 't';
}
require Config; import Config;
if ($ENV{PERL_CORE} and $Config{'extensions'} !~ /\bStorable\b/) {
$$cloned{a} = "blah";
ok 8, $$cloned{''}[0] == \$$cloned{a};
-