in reply to Blackslash confusion and newlines

Greetings, pimperator.

The following is NOT intended to sound as bad as it will. :)

Perl cheat-sheet

#!/usr/bin/perl # I hate the cryptic words Perl usually chooses use Modern::Perl; use strict; # ALWAYS # Let Perl inform me if I might be doing something wrong use warnings; # I hate to read the fine Perl documentation # either I'm too lazy, or it makes my head spin # But I understand Perl will tell me what to do if I use diagnostics; # my code follows {...}

--Chris

¡λɐp ʇɑəɹ⅁ ɐ əʌɐɥ puɐ ʻꜱdləɥ ꜱᴉɥʇ ədoH

Replies are listed 'Best First'.
Re^2: Blackslash confusion and newlines
by soonix (Chancellor) on May 31, 2014 at 05:25 UTC
      Indeed it does (implement strictures). But was used for a different reason -- qw(say); | feature say;, in this case. Meaning it had "friendlier" names for print, and such. I might also add, it's a great shortcut for many other "features", as well. :)

      --Chris

      UPDATE I probably should have expressed it as:
      use Modern::Perl qw(say);

      ¡λɐp ʇɑəɹ⅁ ɐ əʌɐɥ puɐ ʻꜱdləɥ ꜱᴉɥʇ ədoH