Hi List, Can anybody tell me difference among all of the following sub declaration.
1. sub abc {} 2. sub xyz() {} # Please not round brackets, When I had this definition, I got following error. ----------------- Too many arguments for main::smtp at ./gencap.pl line 201, near "$temp_capfile)" ---------------- After removing the round bracket, it compiled/executed successfully.
3. sub pqr (@) {}
4. sub lmn ($) {}Thanks and Regards, Manish
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>
