SPUG: geting the perl version

jerry gay jerry.gay at gmail.com
Wed Jan 25 10:35:00 PST 2006

On 1/25/06, Atom Powers <atom.powers at gmail.com> wrote:
> I want to do this: `/usr/bin/perl -V:version | /usr/bin/cut -d "'" -f
> 2` without using pipes or quotes; is that possible? (for some reason
> my application isn't executing this correctly)
> That is; I am looking for a simple way to get just the version number
> wihout any padding. Something like "5.8.7" or "5.0.6" or whatever.

maybe this will help:
  perl -MConfig -e"print $Config{version}"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/pipermail/spug-list/attachments/20060125/46efb55a/attachment.html

More information about the spug-list mailing list