On Jan 15, 2008 3:40 PM, Tracy R Reed <[EMAIL PROTECTED]> wrote: > Gus Wirth wrote: > > Mark Schoonover wrote: > >> Then Perl meets that definition. > > > > As they say in Missouri, show me. What you are saying is that Perl > > allows you to escape the virtual machine and directly reference memory > > from the OS, thus causing segfaults when you go to a wrong location. > > I'm with Gus on this one. The number you get when you print a reference > might look like a big number typical of a memory location but if you > reference a different number that you pick at random do you generally > get a segfault? > > > -- > [email protected] > http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg >
The way I understand it all is that C pointers and Perl refs are the same, atleast in creating them. my $ref = \$a int *p = &a; Where's the difference? -- Mark Schoonover, CMDBA http://www.linkedin.com/in/markschoonover http://marksitblog.blogspot.com [EMAIL PROTECTED] -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg
