From:                   [EMAIL PROTECTED] (Martin A. Hansen)

> i have a loop containing the following block of code. however, first
> time the loop is run, $text_link is empty, which it shouldn't be. i
> cant move the declaration of $text_link above the if statment, because
> then the $figure_name would be empty.
> 
> now i guess im really missing out on something fundamental here, since
> i cant figure out how this issue is solved!

You will want to look into perldoc perlop and read about the /e 
option of s///.

Basicaly you need to move the whole URL generation code into the 
replacement part of s/// and have perl evaluate it.

Jenda

=========== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ==========
There is a reason for living. There must be. I've seen it somewhere.
It's just that in the mess on my table ... and in my brain.
I can't find it.
                                        --- me

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to