Beefy Boxes and Bandwidth Generously Provided by pair Networks chromatic writing perl on a camel
Welcome to the Monastery
 
PerlMonks  

Re^3: To Single Quote or to Double Quote

by radiantmatrix (Parson)
on Feb 01, 2005 at 16:51 UTC ( [id://427063]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re^2: To Single Quote or to Double Quote
in thread To Single Quote or to Double Quote

I second your recommendation to use a syntax-highlighting editor, but I want to expand. Not all editors (even fte, sadly, which I loved) handle complex quoting in Perl in a sane manner. For example, an editor might have trouble with some of:

qq[]; s///; y///; ##and so on, any with three separators s[][]; ##etc m,/,; ##non-standard matching, esp with a slash m/\//; #matching with an escaped version of a delimeter

The only editor I've ever found that handles all of those correctly is SciTE.

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

Replies are listed 'Best First'.
OT: Re^4: To Single Quote or to Double Quote
by Tanktalus (Canon) on Feb 01, 2005 at 17:06 UTC

    FYI - FTE handles all those just fine. It's not perfect, but those particular types are working currently. I've fixed many of the perl syntax highlighting problems in FTE, but I don't think any of those ever had a problem that I had to fix.

Re^4: To Single Quote or to Double Quote
by wolfger (Deacon) on Feb 02, 2005 at 11:54 UTC

    My Windows editor of choice handles all of that just fine. I wish they made a Linux version.


    --
    Linux, sci-fi, and Nat Torkington, all at Penguicon 3.0
    perl -e 'print(map(chr,(0x4a,0x41,0x50,0x48,0xa)))'

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://427063]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.