On Thu, Jul 22, 2004 at 09:58:50PM -0700, Bryan Harris wrote:

> >> What's going on here?
> > 
> > You need something like
> > 
> >   $b="${i}_".$j*2;
> > 
> > otherwise you are trying to access $i_
> 
> Interesting!  It seems like I do things like this all the time...  How does
> perl decide where the variable ends and the quoted text begins?

Take a look at the section on "Variable names" at the beginning of
perldoc perldata.

-- 
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net

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