Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Typo or on purpose? Variable instantiation with string concatenation operator

by capfan (Sexton)
on Oct 06, 2015 at 14:50 UTC ( [id://1143930]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!perl
    
    ...
    );
    
    exit(0);
    
  2. or download this
    Benchmark: timing 1000000 iterations of Method One, Method Two...
    Method One:  4 wallclock secs ( 4.13 usr +  0.00 sys =  4.13 CPU) @ 24
    +2424.24/s (n=1000000)
    Method Two:  5 wallclock secs ( 4.39 usr +  0.00 sys =  4.39 CPU) @ 22
    +7738.56/s (n=1000000)
    
  3. or download this
    >perl -MO=Concise script-concat.pl
    6  <@> leave[1 ref] vKP/REFC ->(end)
    ...
    3        <$> const[PV "Peter geht nach Hause geht"] s ->4
    4        <0> padsv[$s1:4,5] sRM*/LVINTRO ->5
    script-assign.pl syntax OK
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-04-23 23:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found