Ïðèãëàøàåì ïîñåòèòü
Õîäàñåâè÷ (hodasevich.lit-info.ru)

7.2 Perl 4

Previous Table of Contents Next

7.2 Perl 4

Most easily recognized by the absence of:

  • use

  • my

  • =>

  • References

  • Objects

  • :: as a package component separator (instead of ')

  • POD

There were many, many other things added in Perl 5—such as BEGIN and END blocks, the /x modifier on regular expressions—but the preceding are going to be your major markers.

This code is likely to contain more uses of eval(), do(), local(), and typeglobs (*) than you would see in Perl 5 programs.

7.2.1 Upgrading to Perl 4

There being no prior versions of Perl I wish to consider for this purpose, this section is intentionally left blank.

    Previous Table of Contents Next