develooper Front page | perl.perl5.porters | Postings from July 2013

Talk about deprecation...

Thread Next
From:
demerphq
Date:
July 4, 2013 14:48
Subject:
Talk about deprecation...
Message ID:
CANgJU+Us2aQryhZFNR-Q+kEzQmJG1MoL=adaA4QogUvKWB9wQg@mail.gmail.com
Found in the bowels of op.c (while debugging a weird perl bug):

                  /* perl4's way of mixing documentation and code
                     (before the invention of POD) was based on a
                     trick to mix nroff and perl code. The trick was
                     built upon these three nroff macros being used in
                     void context. The pink camel has the details in
                     the script wrapman near page 319. */
                    const char * const maybe_macro = SvPVX_const(sv);
                    if (strnEQ(maybe_macro, "di", 2) ||
                        strnEQ(maybe_macro, "ds", 2) ||
                        strnEQ(maybe_macro, "ig", 2))
                            useless = NULL;
                    else {

EEEEEEK!



--
perl -Mre=debug -e "/just|another|perl|hacker/"

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About