Thank you all for you help . I have got my answer . Regards Sunita
-----Original Message----- From: Michiel Beijen [mailto:michiel.bei...@gmail.com] Sent: Monday, January 03, 2011 9:56 PM To: Shlomi Fish Cc: beginners@perl.org; Sunita Rani Pradhan Subject: Re: default arguments in subroutine On Mon, Jan 3, 2011 at 5:04 PM, Shlomi Fish <shlo...@iglu.org.il> wrote: > Your subroutine implementation and the example do not match. Either add {...} > around the subroutine parameters to make it an anonymous hash reference, or > (less preferably IMHO) convert $param_ref to my %params = @_ (and omit the > ->). :) thanks! -- Mike -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/