Click here to get back home

How to generate events in Siemens Server View

 HomeNewsGroups | Search | About
 comp.lang.perl.misc    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
How to generate events in Siemens Server View king 06-19-2006
Get Chitika Premium
Posted by king on June 19, 2006, 7:23 am
Please log in for more thread options
>>
>> [snip]
>>
>> > if I print "$1\n",
>> > the file prints just fine. But, if I do something like print "$1 after
>> > \n", the whole output is messed up. If I print "before $1\n", nothing
>> > prints at all. If I print "before $1 after\n", only after prints.
>>
>> not really sure, but could be a rogue "\r" in $1,


> There
> is a rogue carriage return (0xd) in the string

> Is there something I can do to deal with this
> situation?


Repair the corrupted file:

perl -p -i -e 'tr/\r//d' bad_file


--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas

Similar ThreadsPosted
Generate Server Skeleton from WSDL May 23, 2007, 10:14 am
Events in Perl April 20, 2006, 8:23 am
web events calendar-- need quick help..please May 24, 2005, 9:17 am
Win32::GUI::TreeView events November 1, 2005, 1:30 pm
Catching win32 events May 29, 2006, 9:59 am
Catching win32 events May 29, 2006, 9:59 am
Perl-related events in 2006 ? April 5, 2006, 2:27 am
Algorithm: spreading out jobs/events in time June 17, 2005, 11:46 pm
Win32::OLE, InternetExplorer, NewWindow, Events --- crashes January 12, 2006, 9:19 am
Simulate click events in a Win32 application May 29, 2006, 11:11 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap