Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: My Perl Obfuscator

by harangzsolt33 (Deacon)
on Jan 11, 2024 at 22:59 UTC ( [id://11156900]=note: print w/replies, xml ) Need Help??


in reply to Re: My Perl Obfuscator
in thread My Perl Obfuscator

"Your code removes control characters and certain punctuation but does not remove non-ASCII characters. Is this intentional?"

Well, I really didn't have to include that line, but I did anyway just to be consistent. If I'm going to disallow certain characters in a file name when reading, then I would do the same for creating a file just to be consistent. The reason I chose to ban these characters is because they may be used for bad purposes when reading a file, and they're illegal anyway if you look at the file system specs. The NTFS and FAT file systems disallow creating files with characters 0x00-0x1F and you also can't have files that include: > < * ? | " but it's ok to have a file which contains characters from the extended ASCII chart (0x80-0xFF).

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2026-01-17 01:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (120 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.