Click here to get back home

is there a minimal LDAP server written in Perl?

 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
is there a minimal LDAP server written in Perl? Ted Zlatanov 04-13-2005
Posted by Ted Zlatanov on April 13, 2005, 4:12 pm
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
ldap server can not replace the order of login, why? January 30, 2005, 7:46 pm
Squid perl and LDAP Groups August 16, 2004, 3:28 pm
CGI::Minimal and Cookies December 17, 2007, 6:06 pm
perl net::ldap problem using variable eg attr => [ $v1,$v2..] October 6, 2004, 4:43 pm
rsh daemon written in perl? December 12, 2004, 11:14 pm
new commands written in perl September 21, 2004, 11:57 am
Can services be written in Perl? December 14, 2005, 9:31 pm
Can device drivers be written in Perl? December 9, 2005, 9:55 pm
regular expression : length minimal September 25, 2005, 10:38 am
Can (nearly) any Perl program be written on a single line? October 19, 2005, 5:30 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap