Ace128 has asked for the wisdom of the Perl Monks concerning the following question:
Now, since I'm trying to put myself in the users seat, as the update is supposed to be quite flawless for the user. I just do some other perl tool to do the update itself. But, I was also hoping to make it possible for users to even pick surtain functions, and "add" them to current version of same plugin. That is, say someone just want a particular function (or browse what there exists), that should be possible. Natrually, if something is required that is mentioned and "imported" aswell. Here it would be nice with a trusty merger module. :) And since I'm dealing with full functions, I don't really need to do much diffs of parts of code. More replaceing functions... What could be the best module for this?package mp3Plugin; use MP3::Tag; use File::Basename; use strict; use warnings; ... .. # @Description: Blablabla # @Version 0.8 sub DO_SOMETHING_WHATEVER { my $self = shift; ... } # @Description: Blablabla # @Requires mp3Plugin.DO_SOMETHING_WHATEVER Version 0.8 # @Version 0.8 sub DO_SOMETHING_ELSE_WHATEVER { my $self = shift; ... } return "mp3Plugin"; __END__
but I guess I would prefer a module for this.while ($text =~ /(#+(?:.|\s)+?)sub +([\w\s]+) +\{((.|\s)+)/) { ... } # + :)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Perl SourceCode and Update System
by cdarke (Prior) on Aug 17, 2006 at 11:53 UTC | |
Re: Perl SourceCode and Update System
by Anonymous Monk on Aug 17, 2006 at 10:31 UTC |