Re: Values Not coming in the subroutine parameters correctly...

2007-04-01 Thread Jeff Pang
Hi, > >$returnValue=&StudentInfo::updateStudent($conn,%addNewStudentHash,$classsId,$schoolName); >... > Generally passing a hash to a subroutine is not good. You may try to pass a hash's reference to the subroutine,this get things more clear. Just do: &StudentInfo::updateS

Values Not coming in the subroutine parameters correctly...

2007-04-01 Thread Anish Kumar K
Hi The Parameter value passed from the main PL file to the subroutines are not passed correclly in the same order say the class Id and schoolname are passed correctly as "70" and "ABC". But in the subroutine when I print it is not correct. Some Junk value. I think this is something to do with

Re: WWW:mechanize to fetch content from a web page as you would do with the mouse

2007-04-01 Thread marco zucchelli
Tom, thanks a lotg for the help. I found my way out with the code below. Anyway the content of the page in text format is shown as a whole long text line. I wonder if it is possible to get the line breaks as well ?? Marco $file_output = "./immob24_out.txt"; open(RES, ">$file_output"); use W

WWW::Mechanize, problem with select

2007-04-01 Thread marco zucchelli
Hi, I am trying to uise $mech-> select() to make a selection in a web form. The form looks like a frame with several choices that you can click. Once clicked the choiice is highlighted in blue and then you can submit the form by clicking on a submit button. From my understanding the select() fu

Re: www::mechanize question

2007-04-01 Thread Peter Scott
On Fri, 30 Mar 2007 20:45:43 +0100, Rob Dixon wrote: > Jason Roth wrote: >> >> I'm using www::mechanize to submit a form to a website, and one of >> the fields is disabled (and enabled by javascript on the page which >> obviously isn't running). When I try to set a value for this field I >> get