Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: How to get two array in subroutine

by CountZero (Bishop)
on Feb 10, 2011 at 06:30 UTC ( [id://887348]=note: print w/replies, xml ) Need Help??


in reply to Re: How to get two array in subroutine
in thread How to get two array in subroutine

I shudder to think about a teacher or interviewer who wishes to check if the student or interviewee knows about such *forbidden* knowledge as prototypes. Personally I will give better marks to someone who says it needs to be done with references than to someone who immediately thinks about prototypes and still calls subroutines the "ampersand" way, thus utterly defeating the use of prototypes. Those are not the people you want to tinker with the control program of your nuclear reactor.

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2024-03-28 08:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found