Perl-Sensitive Sunglasses | |
PerlMonks |
Attempt to parse a line with odd characters is unsuccessful.by trailhounds (Initiate) |
on Jul 21, 2011 at 21:36 UTC ( [id://916004]=perlquestion: print w/replies, xml ) | Need Help?? |
trailhounds has asked for the wisdom of the Perl Monks concerning the following question:
I am attempting to read a file in which each string is formatted this way: DB<27> x @a1 0 "2011-07-06 15:50:28\cI0.050\cM\cJ" in the debugger. All I want, in reality, is the value that shows as 0.050 in the example. It shows as all white space, aside from the date, time, and value when the file is output via 'cat'. I can slurp the file easily enough, but I can't find a way to get that value. A bit more information is that the file was created on a Windows 2008 server. I am attempting to process it on a linux machine.
Back to
Seekers of Perl Wisdom
|
|