in reply to Question on WxString (WxPerl) and WWW::Mechanize

Don't you get any warnings? $win should be an object, not a number
$win = @_;
should be
($win) = @_;

Replies are listed 'Best First'.
Re^2: Question on WxString (WxPerl) and WWW::Mechanize
by Ash Rai (Acolyte) on Sep 11, 2007 at 15:05 UTC
    Thank you! I didn't know that. But I do put brackets and now I know why.
      I'm working around this problem.
      I'm writing the WxString from textfield into a text file and then reading from the text file when I have to assign the value to form fields in WWW::Mechanize module! This way I avoid any direct contact with WxString during assignment.