>>>>> "Andre" == Andre Cavalcanti <[EMAIL PROTECTED]> writes:

Andre> @var=($var1,$var2,$var3);
Andre> $"="-";
Andre> $newvar="@var";

Please do this only within a local setting:

my $newvar = do { local $" = "-"; "@var" };

Otherwise, your $" will mess up the rest of the program.

And since this is just a tough way to say "join", I'd flunk it in
a code review.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Reply via email to