Ok i found the solution, solution has to be implemented in the lhs , it goes like this :
tk::widgeOne { -command => [\&foo, ($paramWOne] }
that is one of the ways
more@ http://search.cpan.org/~ni-s/Tk-804.027/pod/callbacks.pod
used in tk::widget { -command => \&foo }
but i have several widgets that use the same function but with different paramenters :
tk::widgeOne { -command => \&foo($paramWOne )}
tk::widgeTwo { -command => \&foo($paramWTwo )}
tk::widgeThree { -command => \&foo($paramWThree)}
My perl creates a html wich has a table with urls.
I want , on the moment i click on an url to log on the database using javascript(that seemed for me an appropriate choice-i do not know java nor javascript) and display that page.
Hello,
I want to use javascript in a perl program that creates a html with a bunch of links that connect to dbi and gets the page content for those links. I know perl part, but the javascript part i lack.
Thank you in advance,
Cristian
how can i extract a root using a pattern match ?
url type :
<h2 class=r><a href=\"http://www.something.com/"
i use this :
<h2 class=r><a href=\"http:\/\/(.+?)\/\"/
but it grabs alot of things that i do not want.
for example : <h2 class=r><a...
$$_lines[$line] is defined , i print the value before using it and its not null and even if i add defined $$_lines[$line] && i still get the warning.
And i use while instead of for because i modify the index while in the loop.
Cristian
Hello guys,
* I get this error when parsing the following lines :
start clusterNo=1
value chunkNo=3
....................
* the code :
while ($line <= $#$_lines) {
chomp $$_lines[$line];
if ($$_lines[$line] =~ /start\s(\S*)=(\d*)/) {
$clusterNo = $2...
I'm trying to learn how does CGI::Application::GDGraph works, but there isn't to much free and fast documentation out there, many just cut and paste from the same source : CPAN, and examples are not self explanatory when it comes to relate them with other components that use them or get used by...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.