Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: poll ideas quest 2019

by Eily (Monsignor)
on Nov 21, 2019 at 16:12 UTC ( [id://11108996]=note: print w/replies, xml ) Need Help??


in reply to poll ideas quest 2019

When choosing a delimiter for Quote and Quote like Operators I:

  • use a pair of delimiters {} () <> [] as often as possible
  • use / when it's a regex
  • just avoid # and it's fine
  • choose whatever's not present in my string
  • carefully select a delimiter that makes my OBFU even more confusing
  • only use \ because I hate you
  • delimit strings with my bare hands
  • don't use quote-like operators
  • follow several rules to increase clarity, consistency and maintanability and my pay-check
  • start complaining; stop expecting me to make a decision and Do What I Mean already!

Replies are listed 'Best First'.
Re^2: poll ideas quest 2019
by Tux (Canon) on Nov 22, 2019 at 07:12 UTC

    I use the ; in SQL statements, so I can easily copy-paste :)

    my $sth = $dbh->prepare (qq; select foo, bar from wobble where barney = 42; );

    Enjoy, Have FUN! H.Merijn
Re^2: poll ideas quest 2019
by soonix (Canon) on Nov 21, 2019 at 18:52 UTC
    • q""
    • qq''
    • prefer here documents

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11108996]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2024-04-19 07:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found