Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: To Single Quote or to Double Quote

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


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 22: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 16: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
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-04-19 22:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found