Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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

by Joost (Canon)
on Jun 15, 2006 at 19:01 UTC ( #555588=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?

A struct is a "complex" type. That means a struct contains a fixed number of fields that can be of different types themselves. A bit like a perl hash but with a fixed number of key-value pairs.

PerlGuts Illustrated has some nice diagrams.

  • 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://555588]
help
Chatterbox?
[Discipulus]: ah! thanks shmem it works in strawberry 5.24
[shmem]: ah. Introduced in 5.22.0, see perl5220delta
[Discipulus]: if so the previous error is a bit misleading, anyway
[shmem]: well, previous to that << was always treated as the left-shift operator
[Eily]: or the here-doc operator
[Eily]: which is actually how it is parsed in this case
[shmem]: older versions of perl can't guess that "use of <<>> may be implemented someday" :D
Discipulus how much wise my brothers are? ;=)
[karlgoethebier]: thanks ;-
[karlgoethebier]: ...to all for reading the manuals

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (9)
As of 2017-07-21 09:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (320 votes). Check out past polls.