Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Bad option in Widget.pm

by BioGeek (Hermit)
on Apr 13, 2005 at 13:28 UTC ( [id://447525]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re: Bad option in Widget.pm
in thread Bad option in Widget.pm

Indeed, that was the culprit. I thougth that if the code was featured in a tutorial on an IBM-site, that it would be tested and flawless, but... apparently not.

Replies are listed 'Best First'.
Re^3: Bad option in Widget.pm
by bageler (Hermit) on Apr 13, 2005 at 14:11 UTC
    warn("err is human"x 2)'
Re^3: Bad option in Widget.pm
by zentara (Cardinal) on Apr 14, 2005 at 08:38 UTC
    I thougth that if the code was featured in a tutorial on an IBM-site, that it would be tested and flawless

    The change to require the '-' in front of options, occured when PerlTk upgraded to the latest TCL base. So the old PerlTk was versioned with 800 numbers, while the current version is series 804.

    So the code does run flawlessly on the Tk version, on which it was written ..Tk800.xxx. There are many old Tk scripts like that floating around. Just go to the snippets and code sections of perlmonks and look for old Tk snippets from a few years ago. They will all give those errors if you try and run them on Tk804.xxx. It's simple to fix the scripts.

    The same is true of Gtk2 scripts..the libraries are always being improved, and sometimes it breaks "old syntax".


    I'm not really a human, but I play one on earth. flash japh

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://447525]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.