get_version.pl 60 B

123456
  1. while (<>) {
  2. if (/version : '(.+)',/) {
  3. print "$1";
  4. }
  5. }