[plug] Perl Question

Arie Hol arie99 at ozemail.com.au
Mon Jul 26 20:22:23 WST 2004



On 26 Jul 2004 at 11:52, Patrick Tehvand wrote:

> Hi all.
> 
> I may be making things to complex for myself but is there a way to join 
> two scalar values to give the name of a scalar?
> 
> my brain says litteraly it should be:
> 
> $ifvariable = $scalar1 . $scalar2;
> if ($"$ifvariable" eq blah) {
> 
8< ----------- snip ------------>8

A wild guess here - I can't remember very much ATM.

try ;

$ifvariable .= $scalar2;

Well I think that's how it goes !!!

HTH





>--------------------------------------------------------------<
 For the concert of life, nobody has a program.
>--------------------------------------------------------------<



More information about the plug mailing list