Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: Distiguishing arguments: number-strings vs real integer

by LanX (Archbishop)
on Aug 10, 2018 at 15:23 UTC ( #1220203=note: print w/replies, xml ) Need Help??


in reply to Re: Distiguishing arguments: number-strings vs real integer
in thread Distiguishing arguments: number-strings vs real integer

I somehow agree with you, but I didn't design SQL and have the general desire to warn my user about such glitches.

And if this dogma was generally true, this would mean that Data::Dumper was mis-designed.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

  • Comment on Re^2: Distiguishing arguments: number-strings vs real integer

Replies are listed 'Best First'.
Re^3: Distiguishing arguments: number-strings vs real integer
by choroba (Archbishop) on Aug 10, 2018 at 15:28 UTC
    SQL is typed, each column has a type, each function's return value has a type.

    Data::Dumper tries to do the impossible. I've just finished the first part of my slides for Glasgow, they show the problems with various JSON modules, how their results are different in corner cases, how their versions differ in what they return, and how the same version could return different results under different Perl versions. You've chosen a long, dark, and distressful path.

    ($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,
      > You've chosen a long, dark, and distressful path.

      Probably, but if it comes to variables, I will delegate the decision to DBI about how to handle the placeholder by providing the original value.

      And if it comes to literals I hope Data::Dumper "does the possible".

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (10)
As of 2020-03-30 11:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    To "Disagree to disagree" means to:









    Results (175 votes). Check out past polls.

    Notices?