Re: am I missing something?

2013-03-03 Thread sisyphus1
-Original Message- From: Chris Knipe my @array = (1..10); foreach my $number (@array) { next if $number == 5; print $number; } I can't reproduce the problem. Works as expected for me, and outputs: 1234678910 Cheers, Rob -- To unsubscribe, e-mail: beginners-unsubscr...@perl.or

Re: dmake can't find config.h, and collector throws error when trying to compile perl-static.exe (perl-5.18.0 / mingw)

2013-05-26 Thread sisyphus1
-Original Message- From: R. S. dmake -f makefile.mk == del /f config.h Can not find D:\perl\win32\config.h. copy config_H.gc config.h Number of copied files: 1. That looks pretty normal to me. The 'del /f config.h' command is executed to remove any exist

Re: REG: How to add perl repository in PPM

2013-06-28 Thread sisyphus1
From: Anitha Sreejith Victor Please suggest with the steps to add number of available perl repositories in PPM->edit->preferences->repository. I also tried to add the same , but ended up with 401 Authorization required. Which repositories were you trying to add when you got the 401 error ? I

Re: Installing Module::Build::Tiny from CPAN fails . . . because it requires Module::Build::Tiny!?! WTF?

2014-02-15 Thread sisyphus1
Hi Marc, Version 0.034 installed ok for me on Strawberry Perl. The simple.t test script was unable to unlink a dll it had created and produced a few warnings in relation to that – but the tests still passed and the module installed. (Strawberry Perl ships with Module-Build-Tiny, so in order to

Re: List-AllUtils-0.07

2014-03-18 Thread sisyphus1
From: Yosef Levy I can't find: List::Util 1.31 in CPAN distribute. That's right - there is no distribution named List::Util. Scalar::List::Utils is the name of the distribution that contains the module named List::Util. Install Scalar::List::Utils and you'll be right :-) (In general, if y

Re: CPAN unavailable

2014-05-20 Thread sisyphus1
From: Yonghua Peng Do you know why these days cpan.org has been unavailable? I don't know why, but it has been down (often for lengthy periods) quite a bit lately. Thankfully, https://metacpan.org seems to be always available. Cheers, Rob -- To unsubscribe, e-mail: beginners-unsubscr..

Re: Argument isn't numeric warning in if statement

2014-09-16 Thread sisyphus1
-Original Message- From: SSC_perl Sent: Wednesday, September 17, 2014 10:37 AM To: Perl Beginners Subject: Argument isn't numeric warning in if statement I just ran across something puzzling. Why are these two statements not equivalent when it comes to warnings? if ($item->{'optionpr

Re: can locate pm

2015-02-18 Thread sisyphus1
From: nicolas Sent: Thursday, February 19, 2015 10:14 AM To: beginners@perl.org Subject: can locate pm Hello, I used to work with a perl script that contains (use vt.pm). (vt.pm are code that complement the script) I remember that I have to copy the vt.pm file in perl somewhere. Since I am not

Re: Will Strawberry Perl installation cause any conflicts with pre-existing Actoive State Perl on W2008 server?

2015-11-13 Thread sisyphus1
-Original Message- From: Kenneth Wolcott Sent: Saturday, November 14, 2015 6:11 AM To: Perl Beginners Subject: Will Strawberry Perl installation cause any conflicts with pre-existing Actoive State Perl on W2008 server? Can I install Strawberry Perl on a W2008 Server without adversely

Re: Will Strawberry Perl installation cause any conflicts with pre-existing Actoive State Perl on W2008 server?

2015-11-17 Thread sisyphus1
-Original Message- From: Kenneth Wolcott Sent: Wednesday, November 18, 2015 5:23 AM To: sisyph...@optusnet.com.au Cc: Perl Beginners Subject: Re: Will Strawberry Perl installation cause any conflicts with pre-existing Actoive State Perl on W2008 server? Apparently Strawberry Perl di

Re: Where to put xs files?

2016-06-09 Thread sisyphus1
From: Alex Becker Sent: Thursday, June 09, 2016 4:45 AM To: beginners@perl.org Subject: Where to put xs files? Hi! Where do I put xs files in a module distribution? For example, the module Tk::IDElayout contains the following files: * CaptureRelease.pm * CaptureRelease.xs * WmCaptureRelease.c *

Re: perl -e 'my $i = 0; $i = defined($i) ? (!!$i) : 0; print "i: $i\n";'

2017-07-06 Thread sisyphus1
From: Chas. Owens Sent: Friday, July 07, 2017 12:34 AM To: hw ; beginners@perl.org Subject: Re: perl -e 'my $i = 0; $i = defined($i) ? (!!$i) : 0; print "i: $i\n";' On Thu, Jul 6, 2017 at 9:38 AM hw wrote: Chas. Owens wrote: $i started off as an IV, but gets promoted to a PVIV by being used i

Re: perl -e 'my $i = 0; $i = defined($i) ? (!!$i) : 0; print "i: $i\n";'

2017-07-06 Thread sisyphus1
From: David Mertens Sent: Friday, July 07, 2017 12:07 PM To: Sisyphus Cc: Chas. Owens ; hw ; Perl Beginners Subject: Re: perl -e 'my $i = 0; $i = defined($i) ? (!!$i) : 0; print "i: $i\n";' On Thu, Jul 6, 2017 at 9:12 PM, wrote: I find it a little surprising that use of the '!' operator is all

Re: On Windows 7: Strawberry Perl Portable + Glade + GTK ?

2017-12-06 Thread sisyphus1
From: Peter Schmitz Sent: Thursday, December 07, 2017 9:29 AM To: beginners@perl.org Subject: On Windows 7: Strawberry Perl Portable + Glade + GTK ? I am trying to set up a development environment on Windows 7, to use Perl and Glade. This environment needs to reside as a collection of directori

Re: What is the substitute for $#?

2018-01-26 Thread sisyphus1
From: Chas. Owens Sent: Saturday, January 27, 2018 9:04 AM To: Peng Yu Cc: Perl Beginners Subject: Re: What is the substitute for $#? ... You can find the exact value of DBL_DIG on your system with the following C code: ... The POSIX module will also tell you the value of DBL_DIG. perl -MP