Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: How is perl able to handle the null byte?

by ChemBoy (Priest)
on Jun 15, 2006 at 21:50 UTC ( #555643=note: print w/ replies, xml ) Need Help??


in reply to Re^2: How is perl able to handle the null byte?
in thread How is perl able to handle the null byte?

Reminding me of a classic exchange from a CS class I took once (OK, the CS class I took...):

Student (slightly paraphrased): you mentioned that the address after the last member of the array is guaranteed to be a legal address, though you don't technically have it allocated to you. Don't a lot of people use that fact to just pretend their array indexes are 1-based instead of 0-based?

Professor: Lot's of people J-walk, too! Some of them get killed!

Ah, those were the days... ;-)



If God had meant us to fly, he would *never* have given us the railroads.
    --Michael Flanders


Comment on Re^3: How is perl able to handle the null byte?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2014-10-21 22:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (112 votes), past polls