On 7/17/06, A. Pagaltzis <[EMAIL PROTECTED]> wrote:
* Graham Barr <[EMAIL PROTECTED]> [2006-07-17 02:00]:
> perl -MDBI\ 999
> DBI version 999 required--this is only version 1.50.
> BEGIN failed--compilation aborted.
You can use an equals sign instead of a space, there, which makes
it a little ea
> On Mon, 17 Jul 2006 02:24:37 +0200, "A. Pagaltzis" <[EMAIL PROTECTED]>
> said:
> * Graham Barr <[EMAIL PROTECTED]> [2006-07-17 02:00]:
>> perl -MDBI\ 999
>> DBI version 999 required--this is only version 1.50.
>> BEGIN failed--compilation aborted.
> You can use an equals sign in
* Graham Barr <[EMAIL PROTECTED]> [2006-07-17 02:00]:
> perl -MDBI\ 999
> DBI version 999 required--this is only version 1.50.
> BEGIN failed--compilation aborted.
You can use an equals sign instead of a space, there, which makes
it a little easier to type:
perl -MDBI=666 -e1
Regards,
--
#A
David Wheeler wrote:
> On Jul 12, 2006, at 03:41, Gabor Szabo wrote:
>
>> perl -MModule -e'print $Module::VERSION'
>
> I have this alias set up:
>
> function pv () { perl -M$1 -le "print $1->VERSION"; }
>
> I think that calling ->VERSION is more correct.
I am sure this discussion has happene
> On Thu, 13 Jul 2006 19:36:52 -0400, "Randy W. Sims" <[EMAIL PROTECTED]>
> said:
> David Wheeler wrote:
>> On Jul 13, 2006, at 05:56, Fergal Daly wrote:
>>
>>> That's funny, it looks like I did put some code in to disable the END
>>> block if it's "require"d rather than "use"d. Tu
David Wheeler wrote:
On Jul 13, 2006, at 05:56, Fergal Daly wrote:
That's funny, it looks like I did put some code in to disable the END
block if it's "require"d rather than "use"d. Turns out I did this to
make MakeMaker happy, so MakeMaker does actually do a full require,
Well, IIRC, both Ma
On Thu, Jul 13, 2006 at 02:29:38PM +0300, Gabor Szabo wrote:
> On 7/13/06, Fergal Daly <[EMAIL PROTECTED]> wrote:
> >I could change it so that it tries to figure out whether it's being
> >used for real or not and disable the END block code but that's stress
> >and hassle. As a module author, as far
On Jul 13, 2006, at 05:56, Fergal Daly wrote:
That's funny, it looks like I did put some code in to disable the END
block if it's "require"d rather than "use"d. Turns out I did this to
make MakeMaker happy, so MakeMaker does actually do a full require,
Well, IIRC, both MakeMaker and Module::Bu
On 13/07/06, Smylers <[EMAIL PROTECTED]> wrote:
Fergal Daly writes:
> On 12/07/06, Smylers <[EMAIL PROTECTED]> wrote:
>
> > I have this one-liner as ~/bin/pmv:
> >
> > #! /bin/sh
> > perl -m$1 -le 'print '$1'->VERSION || die "No VERSION in '$1'\n"'
>
> These all fail for modules that do interest
Fergal Daly writes:
> On 12/07/06, Smylers <[EMAIL PROTECTED]> wrote:
>
> > I have this one-liner as ~/bin/pmv:
> >
> > #! /bin/sh
> > perl -m$1 -le 'print '$1'->VERSION || die "No VERSION in '$1'\n"'
>
> These all fail for modules that do interesting things. For example
> Test::NoWarnings perf
On Thu, 13 Jul 2006 14:29:38 +0300, "Gabor Szabo" <[EMAIL PROTECTED]> wrote:
> On 7/13/06, Fergal Daly <[EMAIL PROTECTED]> wrote:
> > I could change it so that it tries to figure out whether it's being
> > used for real or not and disable the END block code but that's stress
> > and hassle. As a m
On 7/13/06, Fergal Daly <[EMAIL PROTECTED]> wrote:
I could change it so that it tries to figure out whether it's being
used for real or not and disable the END block code but that's stress
and hassle. As a module author, as far as I'm concerned, if MakeMaker
can figure out my version then my job
On 12/07/06, Smylers <[EMAIL PROTECTED]> wrote:
David Wheeler writes:
> On Jul 12, 2006, at 03:41, Gabor Szabo wrote:
>
> >perl -MModule -e'print $Module::VERSION'
>
> I have this alias set up:
>
> function pv () { perl -M$1 -le "print $1->VERSION"; }
Along similar lines, I have this one-line
David Wheeler writes:
> On Jul 12, 2006, at 03:41, Gabor Szabo wrote:
>
> >perl -MModule -e'print $Module::VERSION'
>
> I have this alias set up:
>
> function pv () { perl -M$1 -le "print $1->VERSION"; }
Along similar lines, I have this one-liner as ~/bin/pmv:
#! /bin/sh
perl -m$1 -le 'prin
On Jul 12, 2006, at 03:41, Gabor Szabo wrote:
perl -MModule -e'print $Module::VERSION'
I have this alias set up:
function pv () { perl -M$1 -le "print $1->VERSION"; }
I think that calling ->VERSION is more correct.
Best,
David
On 12 Jul 2006 11:52:07 -, Rafael Garcia-Suarez
<[EMAIL PROTECTED]> wrote:
> "Gabor Szabo" wrote in perl.qa :
> > While checking if the versions of all the modules are as
> > required in our installation I am using the following one liner to
> > fetch the version numbers.
> >
> > perl -MModule
"Gabor Szabo" wrote in perl.qa :
> While checking if the versions of all the modules are as
> required in our installation I am using the following one liner to
> fetch the version numbers.
>
> perl -MModule -e'print $Module::VERSION'
You should probably use -mModule to avoid calling Module::impor
On Wed, 12 Jul 2006 13:41:16 +0300, "Gabor Szabo" <[EMAIL PROTECTED]> wrote:
> While checking if the versions of all the modules are as
> required in our installation I am using the following one liner to
> fetch the version numbers.
>
> perl -MModule -e'print $Module::VERSION'
Not really reliab
On 7/12/06, Gabor Szabo <[EMAIL PROTECTED]> wrote:
While checking if the versions of all the modules are as
required in our installation I am using the following one liner to
fetch the version numbers.
perl -MModule -e'print $Module::VERSION'
This one-liner doesn't work all the time in modul
While checking if the versions of all the modules are as
required in our installation I am using the following one liner to
fetch the version numbers.
perl -MModule -e'print $Module::VERSION'
Some of the modules print extra error messages and some print
only error messages.
I have sent e-mail to
20 matches
Mail list logo