From: Romain Groleau <[EMAIL PROTECTED]>
> 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

This is a FAQ. No you don't want this. Please read

"Why it's stupid to `use a variable as a variable name'" - by M-J. 
Dominus 
http://www.plover.com/~mjd/perl/varvarname.html

Jenda
===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed 
to get drunk and croon as much as they like.
        -- Terry Pratchett in Sourcery


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