Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: Re: Re: packing/unpacking/split/join confusion

by poj (Vicar)
on Jan 01, 2003 at 17:39 UTC ( #223596=note: print w/ replies, xml ) Need Help??

in reply to Re: Re: packing/unpacking/split/join confusion
in thread packing/unpacking/split/join confusion

I think what is confusing you is "Where are the spaces coming from ?"

# If this is an array @a = ("A","B","C"); # then print "@a"; # result =A B C ie. all spaced out # # because as the Camel book says # Array variables are interpolated into double # quoted strings by joining all the elements # of the array with the delimiter specified # in the $" variable (which is space by default) # #This however print join ('',@a); # result =ABC


Comment on Re: Re: Re: packing/unpacking/split/join confusion
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2015-11-29 17:50 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (751 votes), past polls