Subject: | easy feature request... |
Date: | Fri, 5 Mar 2010 16:02:15 +0100 |
To: | <bug-Getopt-Euclid [...] rt.cpan.org> |
From: | "Denis BAURAIN" <denis.baurain [...] ulg.ac.be> |
Hello,
I use a lot Getopt::Euclid to develop auto-documenting perl scripts for
bioinformatics. It fits very well except for one thing: I cannot get the
value of my version number (or even the complete string) from inside my
scripts. If I had an Euclid variable containing my version number, I
would print it in the headers of my output files (for logging purposes).
Right now, I have to duplicate the version number in my code (in the POD
and as a variable), which somewhat defeats the whole point of Euclid.
Would it be difficult to implement? I guess not since it's dynamically
built when using the --version argument. Please note that I have not
tried yet myself as I do not have any experience with source filters.
Best regards,
Denis
--
Denis BAURAIN, Ph.D.
Unit of Animal Genomics
GIGA-R & Faculty of Veterinary Medicine
University of Liège
GIGA Tower (B34 - 1° floor)
CHU, Sart Tilman Campus
1 Avenue de l'Hopital
4000-Liège, Belgium