Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^5: [PPM (Perl Package Manager)] Installing multiple modules from a single ppd file (Alien-Sisyphusion-Gtk2WebKitdlls)

by beech (Parson)
on Mar 29, 2017 at 10:22 UTC ( #1186353=note: print w/replies, xml ) Need Help??


in reply to Re^4: [PPM (Perl Package Manager)] Installing multiple modules from a single ppd file (Alien-Sisyphusion-Gtk2WebKitdlls)
in thread [PPM (Perl Package Manager)] Installing multiple modules from a single ppd file

Might get a bit messy with AciveState perls if they decide to make "DEPENDENCY NAME" obsolete. They haven't done that yet, have they ?

No, I don't think they will ever do that as they just map DEPENDENCY into REQUIRE

http://docs.activestate.com/activeperl/5.24/lib/ActivePerl/PPM/PPD.html says

Deprecated. Required attribute is NAME. Optional attribute is VERSION. No content. Element might be repeated any number of times. Parent must be an IMPLEMENTATION element. This element expresses a dependency on another package with the given name and with the given version number or better. The other package must be installed for this package to work. This element is still recommended for PPDs that are to be used by both PPM4 and PPM3 clients, as the PPM3 clients will ignore any REQUIRE elements provided. PPM4 clients regard DEPENDENCY the same as REQUIRE, but will simply ignore the VERSION provided.
  • Comment on Re^5: [PPM (Perl Package Manager)] Installing multiple modules from a single ppd file (Alien-Sisyphusion-Gtk2WebKitdlls)

Replies are listed 'Best First'.
Re^6: [PPM (Perl Package Manager)] Installing multiple modules from a single ppd file (Alien-Sisyphusion-Gtk2WebKitdlls)
by syphilis (Bishop) on Mar 29, 2017 at 13:23 UTC
    PPM4 clients regard DEPENDENCY the same as REQUIRE, but will simply ignore the VERSION provided

    Thanks for digging that up.
    It effectively means that I can't simply just do the s/REQUIRE NAME/DEPENDENCY NAME/g that I was hoping to do.
    However, specifying both (putting DEPENDENCY NAME ahead of REQUIRE NAME) seems to work ok with both ppm4 and the version that ships with Strawberry.
    So I'll do that and see how it all goes.

    Cheers,
    Rob

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2020-11-26 21:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?