X
Xavier
I have the following code in my perl script to generate some HTML:
printf "\<img src=\"Dir1/%s/%s\"\>\n", $dirname, $filename;
but the output instead of looking ilke
<img src="Dir1/dirname/filename">
looks like
">mg src="Dir1/dirname/filename
i cannot for the life of me figure out what is causing perl to munge
up such a simple output string...i've tried using sprintf to a
variable and then printing that variable but i get the same munged up
output. i've tried a straight print statement as well with the same
results.
could those with more experience offer some pointers? i'm running this
on redhat 9.0 with perl 5.8.0
thanks
printf "\<img src=\"Dir1/%s/%s\"\>\n", $dirname, $filename;
but the output instead of looking ilke
<img src="Dir1/dirname/filename">
looks like
">mg src="Dir1/dirname/filename
i cannot for the life of me figure out what is causing perl to munge
up such a simple output string...i've tried using sprintf to a
variable and then printing that variable but i get the same munged up
output. i've tried a straight print statement as well with the same
results.
could those with more experience offer some pointers? i'm running this
on redhat 9.0 with perl 5.8.0
thanks