develooper Front page | perl.perl5.porters | Postings from November 2015

[perl #126715] Deprecate barewords?

Thread Previous | Thread Next
bulk88 via RT
November 23, 2015 20:42
[perl #126715] Deprecate barewords?
Message ID:
On Mon Nov 23 11:58:25 2015, wrote:
> Am 23.11.2015 um 20:49 schrieb bulk88 via RT:
> > uses them to
> > pack .pm files. I've attached a sample packed .pm.
> >
> How much of that magic is fixed bytes? Because if it's just two bytes
> ('MZ'), you can work around it with 'MZ() if 0;' or similar. No
> barewords!

Just the first 2 bytes are magic, not the semicolon. Someone a while ago told me to use : and make it an unused label but I've never tried it. To fit "MZ() if 0;", I'd have to shorten the do not edit comment. There are only 2 free bytes (as spaces) before the binary escaping heredoc. The binary escaping heredoc must escape bytes 0x3C/60-0x3F/63 so it can not be moved.

bulk88 ~ bulk88 at

via perlbug:  queue: perl5 status: open

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About