Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: Unexplained benchmark when using chop vs. chomp (or neither)

by karlgoethebier (Monsignor)
on Mar 08, 2018 at 12:47 UTC ( #1210510=note: print w/replies, xml ) Need Help??


in reply to Re^2: Unexplained benchmark when using chop vs. chomp (or neither)
in thread Unexplained benchmark when using chop vs. chomp (or neither)

"...4 to 6 lines of Perl code that compiles..."

Mostly it is just a question of the his comments:

perl -E 'say qq(I “just missed it,” I apologize in advance); // svc'

Best regards, Karl

«The Crux of the Biscuit is the Apostrophe»

perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help

Replies are listed 'Best First'.
Re^4: Unexplained benchmark when using chop vs. chomp (or neither)
by choroba (Bishop) on Mar 08, 2018 at 12:50 UTC
    Bareword found where operator expected at -e line 1, near "// svc" (Missing operator before svc?) syntax error at -e line 1, near "// svc " Execution of -e aborted due to compilation errors.
    ($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,

      Yes. This i meant. Good observed. Best regards, Karl

      «The Crux of the Biscuit is the Apostrophe»

      perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help

      ...and some say Perl is based on C. Meh ;)

        Well, that's a C++ style comment. Not that a C-style one works either: print "Hello World!\n"; /* Don't know how that works, found it on the internet */

        Quantifier follows nothing in regex; marked by <-- HERE in m/* <-- HERE  Don't know how that works, found it on the internet */ at -e line 1.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1210510]
help
Chatterbox?
and one hand claps...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2018-06-21 04:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (117 votes). Check out past polls.

    Notices?