Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: Bad option in Widget.pm

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


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 zentara (Archbishop) on Apr 14, 2005 at 12: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
Re^3: Bad option in Widget.pm
by bageler (Hermit) on Apr 13, 2005 at 18:11 UTC
    warn("err is human"x 2)'

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://447525]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-03-28 18:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found