> "MS" == Malesha, Sachin writes:
MS> Below is one way to do it.
if you are going to help, please cover most of the weaknesses of the
code and there are many.
MS> #!/usr/bin/perl
MS> use strict;
use warnings as well
MS> sub func {
poor sub name. names are important, even in test
esha
-Original Message-
From: K4 Monk [mailto:k4m...@gmail.com]
Sent: Tuesday, February 22, 2011 9:40 PM
To: beginners@perl.org
Subject: baby code
I just realized even after years of dabbling in perl I don't
understand how function calls work. Can someone please be kind enough
to h
I just realized even after years of dabbling in perl I don't
understand how function calls work. Can someone please be kind enough
to help me understand how to return multiple objects from a function
and use them? Here I'm interested in returning two objects: a hash,
and a list respectively. I'm su