2 ms·
> The worst aspect of C would be pointers and unsafe memory access, which Perl doesn't have. In a practical sense, it doesn't. But it's there if you specifical
by adrianmonk 6y ago
> The worst aspect of C would be pointers and unsafe memory access, which Perl doesn't have.
In a practical sense, it doesn't. But it's there if you specifically go digging for it:
$ perl -le 'print unpack("p", pack("p", "Hello, world."));'
Hello, world.
$ perl -le 'print unpack("p", reverse(pack("p", "Hello, world.")));'
Segmentation fault (core dumped)
$