Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

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

by poj (Parson)
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 pondering the Monastery: (5)
As of 2016-02-13 12:08 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (429 votes), past polls