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

Re: Perl deleted my desktop

by Eily (Monsignor)
on Nov 04, 2019 at 10:44 UTC ( #11108291=note: print w/replies, xml ) Need Help??

in reply to Perl deleted my desktop

I did something similar. I had some code with special characters in it (accented chars, mostly) which would lead to problems with some of our tools. I got bored with it and used a perl script to remove every non ascii char from the code. No problem there.

A colleague had the same issue on a different branch, so I told him I would do the same operation again. Except this time I called the script on the root directory of my drive rather than the code folder. Turns out there are a lot of non ascii characters in zipped files, executable files, and other non plain text files :P (It was inconvenient, but all important files were local copies of files backed up somewhere though, so I didn't lose anything)

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2020-06-02 02:55 GMT
Find Nodes?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?

    Results (12 votes). Check out past polls.