Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: poll ideas quest 2019

by Eily (Monsignor)
on Nov 21, 2019 at 16:12 UTC ( #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 (Abbot) 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?

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2020-06-02 00:47 GMT
Find Nodes?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?

    Results (12 votes). Check out past polls.