in reply to Re^3: Perl/SVN/versioning - ideas?
in thread Perl/SVN/versioning - ideas?
Then install a post-commit hook that writes the revision into a special file, and read that for determining the revision.
If the file looks like:
package Project::Version; use strict; use warnings; use Exporter qw( import ); our @EXPORT = qw( $VERSION ); our $VERSION = ...; 1;
Then use Project::Version; will import $VERSION into the caller.
|
|---|