Problems? Is your data what you think it is? | |
PerlMonks |
OT: Converting some js to Perlby BrowserUk (Patriarch) |
on Feb 22, 2018 at 12:16 UTC ( [id://1209740]=perlquestion: print w/replies, xml ) | Need Help?? |
BrowserUk has asked for the wisdom of the Perl Monks concerning the following question: I'm converting some js, and have come across numerous examples of this construct: I can convert that to:
But this achieves the same thing (in Perl):
The question(aimed at js progs): Is there anything inherent in the js code that my second Perl versions misses? Or is this just a case of someone defining an inString() function, that then got inlined, but not unwrapped? With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". The enemy of (IT) success is complexity.
In the absence of evidence, opinion is indistinguishable from prejudice.
Suck that fhit
Back to
Seekers of Perl Wisdom
|
|