|
|
| Syntactic Confectionery Delight | |
| PerlMonks |
concerning our $VERSIONby John M. Dlugosz (Monsignor) |
| on Mar 31, 2011 at 21:20 UTC ( #896731=perlquestion: print w/ replies, xml ) | Need Help?? |
|
John M. Dlugosz has asked for the
wisdom of the Perl Monks concerning the following question:
First, I see this idiom being used:
Why does it set it and then eval it? Second, I'd like to put the $VERSION in its own file. This is to make it easy to match up versions of the code (using git) with versions of non-code assets like large image files, which are kept out of git and saved in a simple manner. If I include the file in a normal way, it has its own scope. Is there a simple way to just include it "in place"?
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||