in reply to strange quotes
Whether you have to escape your quotes or not depends on what kind of surrounding quotes you're using. If the surrounding quotes are ", then you don't have to escape ' qutoes, but other " quotes MUST be escaped (otherwise they mark the end of the string and will probably cause compilation errors). And vice versa.
If you are using a mixture of single and double quotes you may find it more comfortable the qq construct for strings:
my $string = qq( A "string" with lots of 'quotes' );
I notice, BTW, that you open an output file but never writes anything to it; I assume that you changed this for debugging purposes... :)
Cheers,
-- moodster
|
|---|