|Syntactic Confectionery Delight|
Mysterious Whitespaces between each character in a fileby 1wax (Novice)
|on Oct 08, 2009 at 13:35 UTC||Need Help??|
1wax has asked for the
wisdom of the Perl Monks concerning the following question:
Reading lines from an MOF file and printing to STDOUT script produces lines with whitespaces between each character.
Trying to use s/\s+//g does not remove the spaces.
Because of the spaces its difficult to match any of the lines with values within the script.
Does anybody know how the file can be read and printed without the extra spaces.
Running a type on the file does not show anything untoward.
Perl version is 5.6.1 on windows 2k3.
EXTRACT OF FILE:
instance of OV_NodeGroup
Caption = "xxxxx";
Description = "xxxxx";
GraphCategory = "";
. . .