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

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

by poj (Priest)
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 meditating upon the Monastery: (5)
As of 2015-03-29 09:56 GMT
Find Nodes?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:

    Results (630 votes), past polls