Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^4: @array elements multiplication with another array elements.

by grizzley (Chaplain)
on Oct 31, 2012 at 08:31 UTC ( #1001625=note: print w/ replies, xml ) Need Help??


in reply to Re^3: @array elements multiplication with another array elements.
in thread @array elements multiplication with another array elements.

That's true! Wow, thanks, first example of prototypes being useful

c:\>perl -le "sub f(\@\@) { print 'array ', ++$cnt ,': ', join ' ', @$ +_ for @_ } @a=(1..5, 11,12);@b=(13..15); f @a, @b" array 1: 1 2 3 4 5 11 12 array 2: 13 14 15


Comment on Re^4: @array elements multiplication with another array elements.
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2015-07-05 17:50 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 (67 votes), past polls