LASSIE> ty z.pl $toline = "@"; $match = $toline =~ /^\@/; print "\$match is $match\n";
$toline = "@T";
Change those double-quotes to single quotes (or turn on -w). Your $toline variable is (after the first round) trying to take the stringified representation of the array @t (which should be the length, I believe).
perl -w yields:
In string, @T now must be written as [EMAIL PROTECTED] at test line 5, near "@T" Execution of test aborted due to compilation errors.
HTH
John
-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748
