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

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.)


Comment on Re: Stripping funny characters
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
Node Status?
node history
Node Type: note [id://46222]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (9)
As of 2014-09-01 19:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (17 votes), past polls