Can I do something like this?

@CityA="Suburb1, Suburb2, Suburb3";
@CityB="Suburb1, Suburb4, Suburb5";

$Var="TownCurrent";

$NewVar="$($TownCurrent)[1]";

I am trying to construct a sting from a variable.

make sence?

Lou

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to