Where does '2007_08_06_quiaaa_yucaaa_1' come from and what does it look like in it's "raw" form? The trite answer to your question is: Just interpolate the string. (See Quote Like Operators for a discussion of interpolation.)
Note that the three parameter open is much preferred over the two parameter version that you have used and you should always check the result of the open so errors are caught sooner rather than later. You should use $! (see perlvar) to include the system error in any diagnostic message you generate as a result.
Update: fix system error variable!
In reply to Re: How to Save Fetched Web Files as "path/$string.xml"
by GrandFather
in thread How to Save Fetched Web Files as "path/$string.xml"
by nase
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |