http://qs321.pair.com?node_id=11113609


in reply to Re^2: Basic debugging checklist
in thread Basic debugging checklist

yeah that's why CGI::Carp translates -> to and so on, which makes some dumps hard to read.

My preference to <...> over [...] stems from the fact that square brackets are easily confused as array syntax by the eye.

I'd suggest to either double or invert the angle brackets, I doubt that <<...>> or >...< are easily confused as HTML tags.

update

I was wrong with the simple doubling, this <<br>> would be a a break surrounded by angles.

Though this might help ->...<-

I'm open for other ASCII suggestions, i.e. avoiding unicode.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

Replies are listed 'Best First'.
Re^4: Basic debugging checklist
by hippo (Bishop) on Mar 02, 2020 at 09:22 UTC

    Mostly I use the apostrophe (ASCII 39 or x27). This helps as I'm used to seeing it delimiting strings so a "missing" terminator at a line end or one with preceding space appears obvious. In those rare occurrences where this is less effective because of the prevalence of apostrophes in the data corpus I sometimes use the tilde instead (ASCII 126 or x7E). HTH.