mirror of
https://github.com/Perl/perl5.git
synced 2026-01-26 08:38:23 +00:00
This avoids needing to use a variable in package main to pass in information.
Also, remove an unnecessary $ENV{PERL5LIB} assignment cargo-culted into most
users of t/lib/common,pl, and remove the BEGIN block as the code it contained
doesn't need to run at BEGIN time.
7 lines
79 B
Perl
7 lines
79 B
Perl
#!./perl
|
|
|
|
chdir 't' if -d 't';
|
|
@INC = '../lib';
|
|
|
|
require "../t/lib/common.pl";
|