Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

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

poj


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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2014-10-25 12:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (143 votes), past polls