Well, you can implement a Perl peek() with unpack('P',...). Once you have that, there's only security through obscurity. :-)
About this quote
- What does it mean?
- You can implement Perl's peek() with unpack('P',...), but then security relies on obscurity.
- In plain terms
- Implementing peek() is possible, but security is weak.
- What can you take from it?
- Don't rely on hidden tricks for security.
Where it applies
Putting it to work
Questions to consider
- What are safer alternatives to security through obscurity?
Another view
Some low‑level access may be unavoidable in certain contexts.
More from Larry Wall
To ordinary folks, conversion is not always automatic. It's something that may or may not require explicit assistance. See Billy Graham. :-)
Permalink to quote #139 It may be possible to get this condition from within Perl if a signal handler runs at just the wrong moment. Another point for Chip... :-)
Permalink to quote #141 I think that's easier to read. Pardon me. Less difficult to read.
Permalink to quote #138
Related quotes
But the possibility of abuse may be a good reason for leaving capabilities out of other computer languages, it's not a good reason for leaving capabilities out…
Larry WallLarry Wall quote #122 Although the Perl Slogan is There's More Than One Way to Do It, I hesitate to make 10 ways to do something. :-)
Larry WallLarry Wall quote #1