Grant wrote:
Can someone tell me how to turn this line (which works):
open(LABEL,">/path/to/the/file.gif");
into something like this:
open(LABEL,">/path/to/the/$file.gif");
The gif file should be named according to the value of the $file
variable. I never know what to do with quotes in these situations.
Hope this is what you are searching for.
$file="/path/to/the/file.gif";
open(LABEL,">$file");
--
Prabu.M.A
When I was born I was so surprised
I didnt talk for a period and half
-Gracie Allen
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>