Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

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] );

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://996057]
[Eily]: what? I thought PHP was known for its reliable and consistent behaviour and documentation!
[LanX]: ... and a lot of pseudo Perl experts
[Eily]: though honestly, I'm sure I have seen people use closure to mean anonysub for perl as well
[stonecolddevin]: good morning friends
[LanX]: yes, mainly pseudo Perl experts
[Eily]: good morning stonecolddevin
LanX has to go/
[Eily]: bye LanX
[LanX]: bye :)

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (15)
As of 2018-02-23 17:19 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (305 votes). Check out past polls.