Bushido Hacks wrote:
> Hello everyone,
Hello again.
If I am understanding your problem correctly, you are trying to prevent
Perl from trying to interpolate @import when it is inside of a double
quoted string.
If I am correct, you are jumping through far too many hoops.
Is there a reason why you can't just:
$import_string = qq(\@import url(
http://path_to_my/style.css));
or
print "<style> type=\"text/css\">\n\@import
url(http://path_to_my/style.css)\n</style>\n";
(I am not sure what is going to wrap where when I post this. The above
code should be one line.)
If this is not the problem you are trying to solve, can you please
explain what problem you ARE trying to solve? You have asked us if your
solution is going to work, but your problem description is confusing.
You seem to think that Perl will interpolate "\@" as an escape. It
won't. It will interpolate it as '@'.