Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Stripping funny characters

by chromatic (Archbishop)
on Dec 12, 2000 at 10:35 UTC ( [id://46222]=note: print w/replies, xml ) Need Help??


in reply to Stripping funny characters

The amusingly-named Demoronizer is a Perl program that cleans up yucky stuff like that.

I haven't looked at it, but I've heard good things about it. Of course, it claims to use Perl 4 features, so perhaps you'll be the one to bring it into the 21st century. (By the time the 21st century rolls around, that is.)

Replies are listed 'Best First'.
Re: Re: Stripping funny characters
by extremely (Priest) on Dec 12, 2000 at 14:41 UTC
    Ah, I'd had forgotten that little gem existed. I've used it before. This quote from the page you link says it all: (Rule of thumb--every time Microsoft use the word "smart," be on the lookout for something dumb).

    The code needs serious work, OTOH. It is not only perl4ish but also full of goofiness like this:

    # Eliminate idiot MS-DOS carriage returns from line terminator $s =~ s/\s+$//; $s .= "\n";

    All in all it isn't too bad, I'd use it as is, myself =)

    --
    $you = new YOU;
    honk() if $you->love(perl)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://46222]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2024-04-18 12:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found