-----Original Message-----
From: Romain Groleau [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 14, 2004 6:49 PM
To: [EMAIL PROTECTED]
Subject: how to define ths variable


Hi,

Me again,
I'd like to define a variable like
$rslotnXnY where X and Y are alos variable, I tried
like this but it doesn't work:

$rslotn."$X"."n".$Y

Thank you very much,

R.

Höstrusk och grå moln - köp en resa till solen på Yahoo! Resor på adressen 
http://se.docs.yahoo.com/travel/index.html

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

R,

Better use this : 
$rslotn{$X"n"$Y}= 5; 

You can have a controlled hash which you can access without losing control, if $X and 
$Y change..

HTH,
Jay

--
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