Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^5: String concatenation

by Eliya (Vicar)
on Apr 11, 2012 at 21:35 UTC ( #964633=note: print w/ replies, xml ) Need Help??


in reply to Re^4: String concatenation
in thread String concatenation

What actually executes is the same:

$ perl -MO=Terse,-exec -e '$v1.$v2.$v3' OP (0x16e5ad0) enter COP (0x1817650) nextstate PADOP (0x16e6eb0) gvsv GV (0x16e3b68) *v1 PADOP (0x16e5b80) gvsv GV (0x16e3b98) *v2 BINOP (0x16e5a50) concat [3] PADOP (0x16e4c00) gvsv GV (0x16bee88) *v3 BINOP (0x16d5aa0) concat [5] LISTOP (0x16e4ca0) leave [1] -e syntax OK $ perl -MO=Terse,-exec -e '"$v1$v2$v3"' OP (0x1ecc200) enter COP (0x200d6b0) nextstate PADOP (0x1edac60) gvsv GV (0x1ed9b80) *v1 PADOP (0x1edbd40) gvsv GV (0x1ed9ca0) *v2 BINOP (0x1edba90) concat [3] PADOP (0x1edba50) gvsv GV (0x1eb4e88) *v3 BINOP (0x1ecbaa0) concat [5] LISTOP (0x1edb9d0) leave [1] -e syntax OK


Comment on Re^5: String concatenation
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2015-07-06 00:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (68 votes), past polls