in reply to Re^3: Perl TK
in thread Perl TK
Yes, Thank you.. not very smart on my part, after I posted I realized that I did not have firefox installed on this system.
I did get it to open a page, however, it caused a new problem.
It opens a browser window but then I get an error saying "Perl command line interpreter has stopped working" and it closes out my program.
below is the call that I make (please note that I set this code just to test it working so please bare with the hardcoding of the link and such)
I did get it to open a page, however, it caused a new problem.
It opens a browser window but then I get an error saying "Perl command line interpreter has stopped working" and it closes out my program.
below is the call that I make (please note that I set this code just to test it working so please bare with the hardcoding of the link and such)
Anyone know why it is crashing out my perl? I believe I have it forked properly??$tmp_label = $table->Button(-image => $D_Image, -borderwidth=>0, -cur +sor=>'hand1', -command=>[\&NewOrders]); sub NewOrders { $pid = fork(); if ($pid == 0) { execute(system "start http://www.yahoo.com"); exit(0) +;} }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Perl TK
by zentara (Archbishop) on Sep 24, 2012 at 17:47 UTC | |
by randor (Novice) on Sep 25, 2012 at 12:39 UTC |
In Section
Seekers of Perl Wisdom