Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: Stripping funny characters

by chromatic (Archbishop)
on Dec 12, 2000 at 10:35 UTC ( #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?

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (2)
As of 2023-09-25 07:03 GMT
Find Nodes?
    Voting Booth?

    No recent polls found