SPUG: geting the perl version

Umar Cheema umar at drizzle.com
Wed Jan 25 11:26:23 PST 2006


Nevermind. I just read the other emails.

On Wed, 25 Jan 2006, Umar Cheema wrote:

If your application is Perl based, do you really have to use a shell 
command? Can't you simply use the Config module from within Perl?

use Config;
my $version = $Config{version};



On Wed, 25 Jan 2006, Atom Powers wrote:

On 1/25/06, Yitzchak Scott-Thoennes <sthoenna at efn.org> wrote:
> Here's a quoteless way:
>
> perl -eprint+eval~~join+undef,map+chr,36,93
>

Oooh, that looks promising...
Nope:
"cf:cfengine::./test.cf:9: Function or format of input file requires 1
argument items"

<maniacle laughter>
I think I'm going to have to write a wrapper.

--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
_____________________________________________________________
Seattle Perl Users Group Mailing List  
     POST TO: spug-list at pm.org
SUBSCRIPTION: http://mail.pm.org/mailman/listinfo/spug-list
    MEETINGS: 3rd Tuesdays
    WEB PAGE: http://seattleperl.org/














More information about the spug-list mailing list