Re: Gnome2::HRef question.



Christian Hamar said:

$href->set_text($act_fid, $act_fid);

unless i'm missing something, this is what you want:
    $href->set_text($act_fid);

(where act_fid is an url like this:
http://www.something.org/index.php?id=bla...)

Now when i start the program then i got this error message:

Usage: Gnome2::HRef::set_text(href, text) at common/common.gtk.pl line 91.

in perl $var->function implicitly passes $var as the first parameter to the
function. (the href in your case) and you need to pass the text parameter,
$act_fid.

-rm






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]