Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Joining Two Elements of an Array. Little Help Please.

by toolic (Bishop)
on Sep 27, 2012 at 18:07 UTC ( #996057=note: print w/ replies, xml ) Need Help??


in reply to Joining Two Elements of an Array. Little Help Please.

Use strict (Tip #1 from the Basic debugging checklist)

Global symbol "@listofItems" requires explicit package name at

@listOfItems is different from @listofItems (lower-case "o"). Try:

push( my @array1, $listOfItems[0] ); push( my @array2, $listOfItems[1] ); push( my @array3, $listOfItems[2] );


Comment on Re: Joining Two Elements of an Array. Little Help Please.
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (12)
As of 2015-07-29 20:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (268 votes), past polls