Hi .. I am a newbie to Perl..
What is the difference between these two ways of calling a function ?
1. MainFile::FuncName($hashref,$gui);
2. my $ret = $MainFileObj->FuncName($hashref,$gui);
Also in the first one, how can I get the return value ? is it possible ?