RE: How to pass a variable to .t file

2003-11-04 Thread Wiggins d Anconia
> This message is in MIME format. Since your mail reader does not understand > this format, some or all of this message may not be legible. > > > I tried modifying the script, but it still did not work: > > main.pl > ~~~ > use vars qw/ $foo /; #So does our $foo > $foo = 2; > runtests @test

RE: How to pass a variable to .t file

2003-11-04 Thread Rajesh Dorairajan
Original Message- From: Wiggins d Anconia [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 04, 2003 6:11 AM To: Rajesh Dorairajan; '[EMAIL PROTECTED]' Subject: Re: How to pass a variable to .t file > > Can someone help me understand how does one pass variable to a Perl t

Re: How to pass a variable to .t file

2003-11-04 Thread Wiggins d Anconia
> > Can someone help me understand how does one pass variable to a Perl test > script from the calling program? Is such a mechanism available? To > illustrate my question: > > > main.pl > ~~~ > > print "Running tests...\n"; > > my $var = 2; Right here you have lexica