S
starwars
Idiot perlbie questions...
If have on proceedure that requires input of a list of text, i.e., as an @
array.
The other procedure I have requires a simple scalar, i.e. $ .
I want BOTH procedures to operate on a block of text (mail message).
So, I use join on the @ and feed it to the $ only procedure.
And, vice-versa, using split.
It seems to work, but because of my ignorance, I wonder if I am doing it
"right"?
Question: is there an easy way to convert (or reference) array contents as
scalars without using the join function?
If have on proceedure that requires input of a list of text, i.e., as an @
array.
The other procedure I have requires a simple scalar, i.e. $ .
I want BOTH procedures to operate on a block of text (mail message).
So, I use join on the @ and feed it to the $ only procedure.
And, vice-versa, using split.
It seems to work, but because of my ignorance, I wonder if I am doing it
"right"?
Question: is there an easy way to convert (or reference) array contents as
scalars without using the join function?