in reply to Tk in Strawberry on W10

As I am not very au fait with the operational details of CPAN (and some of the more geeky details of perl) is there any way that I can access the Tk modules that are/were available but are now seemingly hidden to me? I am attempting to replace the Tk elements with those from PRIMA but I am running into operational problems withe those, but that is for another discussion elsewhere if I am forced down that route, depending upon any replies to this post

The latest version seems to be Tk-804.036 but I would rather not go through all my written software changing the 'use' statements (is this what I would need to do?). Even the examples on the CPAN site are printed as saying "use Tk".

Q: Can I download Tk-804.036 and rename the topmost directory to be "Tk" in the library in the path environment? Or is it far more complex than that?

All I want is a simple life !!

Again, guidance will be much appreciated

regards ADB

Replies are listed 'Best First'.
Re^2: Tk in Strawberry on W10
by eyepopslikeamosquito (Archbishop) on Apr 07, 2024 at 01:31 UTC

    All I want is a simple life !! Again, guidance will be much appreciated

    While I strongly sympathize with your current lamentable installation problems, crafting quality GUIs is a complex art, requiring considerable skill and taste! It is not a simple life. A few examples from On Interfaces and APIs:

    • Adopt the user's perspective; provide natural mappings; communicate actions to user; provide feedback; prevent, detect and forgive errors
    • Cater for both novice and expert; for novice: easy-to-learn, discoverable, tips, help; for expert: efficiency, flexibility, shortcuts, customizability
    • Ask forgiveness, not permission; make all actions reversible; be polite, remember what the user entered last time
    • ... and many many more :-)

    In case it's of use to you, or a future monk, I've made a first attempt at cobbling together: GUI References. Suggestions for other useful GUI references welcome.

    👁️🍾👍🦟
Re^2: Tk in Strawberry on W10
by syphilis (Archbishop) on Apr 07, 2024 at 00:29 UTC
    The latest version seems to be Tk-804.036

    Yes, and unfortunately it contains some C code that makes an assumption that is not supported by the C standards.
    That, and an (unlucky) windows-specific symbol clash, need to be fixed in the source before it can be built.
    If you like to tell me the first problem you have when trying to follow the approach I outlined in my previous post, then I'll work you through it.
    (You can ignore the "UPDATE" to that post if that's causing confusion - it's not needed to fix your issue.)
    Then, I'll work you through the next step that's causing difficulty... then the next ... and so on.

    Or is it far more complex than that?</i?

    Yes, it's not that simple - though I regard the workaround as "annoying" rather than "complex".

    Cheers,
    Rob
Re^2: Tk in Strawberry on W10
by choroba (Cardinal) on Apr 06, 2024 at 21:00 UTC
    > All I want is a simple life !!

    Buy a Mac and only use the applications it provides for you.

    Real life is never simple.

    map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]