Re: how to pass HTTP::Response variable to sub

2008-08-31 Thread John W. Krahn
Rob Dixon wrote: John W. Krahn wrote: Meir Yanovich wrote: in new to perl . i know how to pass simple variables to perl subs but now i like to pass HTTP::Response variable to sub and im getting errors here is my example : my $browser = LWP::UserAgent->new(); my $response = $browser->get($url);

Re: how to pass HTTP::Response variable to sub

2008-08-31 Thread Rob Dixon
John W. Krahn wrote: > Meir Yanovich wrote: >> >> in new to perl . >> i know how to pass simple variables to perl subs >> but now i like to pass HTTP::Response variable to sub >> and im getting errors here is my example : >> >> my $browser = LWP::UserAgent->new(); >> my $response = $browser->get($u

Re: how to pass HTTP::Response variable to sub

2008-08-31 Thread John W. Krahn
Meir Yanovich wrote: Hello all Hello, in new to perl . i know how to pass simple variables to perl subs but now i like to pass HTTP::Response variable to sub and im getting errors here is my example : my $browser = LWP::UserAgent->new(); my $response = $browser->get($url); $response now co