in reply to Get file version information in Perl
Does the executable have a -v (version) option available when run from the command line?
If so, the backticks operator could capture the output. For example:
use strict; use warnings; my $output = `perl -v`; print "Here's the version info:\n$output\n";
Update:The question you posted to StackOverflow yielded a similar response among the meta-conversation.
Dave
|
|---|