http://www.perlmonks.org?node_id=372112


in reply to Re^2: Regrettable module names
in thread Regrettable module names

That'll work great until you use some syntax-highlighting editor that mistakes it for a quoted string :)

You++ anyway, for finding an almost-good use of the single-quote package seperator.

----
send money to your kernel via the boot loader.. This and more wisdom available from Markov Hardburn.

Replies are listed 'Best First'.
Re^4: Regrettable module names
by etcshadow (Priest) on Jul 12, 2004 at 21:48 UTC
    Don't forget about another great use of the apostrophe namespace separator.
    ------------ :Wq Not an editor command: Wq
Re^4: Regrettable module names
by diotalevi (Canon) on Jul 12, 2004 at 21:55 UTC
    This already happens whenever I use `, #, ", and ' in regexps. What editor are you using that it correctly parses perl? Both the cperl-perl and perl-perl major modes of emacs get this sort of stuff wrong all the time.

      Oh, mine messes it up, too (that being vim 6.3). Quotes and comments in regexen are usually OK, but the quote-like package seperator horribly confuses it. Which is fine, since I don't use it anyway.

      ----
      send money to your kernel via the boot loader.. This and more wisdom available from Markov Hardburn.

      SciTE (a Scintilla editor) handles quote chars inside regexes (and complexities like qw//, qq// and q// highlighting for many different values of '/'). I enjoy it immensely.

      radiantmatrix
      require General::Disclaimer;
      s//2fde04abe76c036c9074586c1/; while(m/(.)/g){print substr(' ,JPacehklnorstu',hex($1),1)}