Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: Perl Concatenate vs Append Operator

by Anonymous Monk
on Aug 19, 2014 at 18:08 UTC ( [id://1098012]=note: print w/replies, xml ) Need Help??


in reply to Re: Perl Concatenate vs Append Operator
in thread Perl Concatenate vs Append Operator

But!

perl -MO=Terse -E'our $str; $str = $str . " ";'
and
perl -MO=Terse -E'our $str; $str .= " ";'

Replies are listed 'Best First'.
Re^3: Perl Concatenate vs Append Operator
by McA (Priest) on Aug 19, 2014 at 18:47 UTC

    Hi,

    I'm so used to lexical variables that I didn't think about that. That's really interesting.

    Thank you for that insight.

    McA

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1098012]
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-26 01:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found