Click here to get back home

Determining which module exported a specific function.

 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
Determining which module exported a specific function. Sisyphus 01-13-2005
Get Chitika Premium
Posted by Sisyphus on January 13, 2005, 4:43 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
Obscure baffling "module not exported" error: can someone help me find the cause? January 31, 2008, 3:20 pm
using specific features in module XML::Simple December 12, 2005, 3:36 pm
Disable warnings from specific module February 27, 2007, 11:38 am
Check subroutine-specific requirements on module import January 26, 2006, 12:11 pm
C::Scan module doesn't support old C function defintions... March 14, 2005, 12:06 am
problem in passing parameters in function defined in perl module June 29, 2005, 7:28 pm
How to use a module's @EXPORT array to document its exported objects? July 19, 2006, 12:52 pm
Reg file exported from XP/2003 - enumerate HEX to ASCII - my head hurts March 12, 2005, 5:58 am
Determining connection type December 7, 2004, 7:25 pm
Determining lvalue context June 9, 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