Re: Problem with threaded Math::GMP

2009-04-28 Thread Robert Gilmour
On Tue, Apr 28, 2009 at 11:01 PM, SCHWARTZKOPFF, Michael, Dr. (Extern) < michael.schwartzko...@mtu.de> wrote: > > I only have one perl installed rpm -qa | grep perl gives: > perl-5.8.8-14.7 > My system is a SuSE Linux Destop 10.1 > find /usr -name "perl" 2>/dev/null > /usr/bin/perl > > [snip] >

Re: package variables

2009-04-28 Thread Chas. Owens
2009/4/28 Gunnar Hjalmarsson : snip >>> I believe the standard response is "patches are welcome." > > Are they? The number of open or "new" bugs at http://rt.perl.org/rt3/Public/ > makes me fear something else. > > ( I did submit a bug report a few weeks ago: > http://rt.perl.org/rt3/Public/Bug/Di

Re: package variables

2009-04-28 Thread Jenda Krynicky
From: Gunnar Hjalmarsson > Jenda Krynicky wrote: > > From: "Chas. Owens" > >> On Tue, Apr 28, 2009 at 13:38, Gunnar Hjalmarsson > >> wrote: > >> snip > Fully qualified names do not trip strict. Which is a reason to avoid > using them. I once work at a place that wrote Perl 5 as if i

Re: package variables

2009-04-28 Thread Gunnar Hjalmarsson
Jenda Krynicky wrote: From: "Chas. Owens" On Tue, Apr 28, 2009 at 13:38, Gunnar Hjalmarsson wrote: snip Fully qualified names do not trip strict. Which is a reason to avoid using them. I once work at a place that wrote Perl 5 as if it were still Perl 4. They had turned on strict because th

Re: package variables

2009-04-28 Thread Jenda Krynicky
From: "Chas. Owens" > On Tue, Apr 28, 2009 at 13:38, Gunnar Hjalmarsson wrote: > snip > >> Fully qualified names do not trip strict.  Which is a reason to avoid > >> using them.  I once work at a place that wrote Perl 5 as if it were > >> still Perl 4.  They had turned on strict because they had

Re: package variables

2009-04-28 Thread Chas. Owens
On Tue, Apr 28, 2009 at 13:38, Gunnar Hjalmarsson wrote: snip >> Fully qualified names do not trip strict.  Which is a reason to avoid >> using them.  I once work at a place that wrote Perl 5 as if it were >> still Perl 4.  They had turned on strict because they had heard it was >> the right thing

Re: package variables

2009-04-28 Thread Gunnar Hjalmarsson
Chas. Owens wrote: On Tue, Apr 28, 2009 at 06:36, Dermot wrote: I saw some code like this today: !/bin/perl -w package My::Package; use strict; ... %My::Package::somehash = ( keyone => 'val', keytwo => 'val2'); The My::Package::somehash isn't declared as with `my` yet the package loads withou

AW: Problem with threaded Math::GMP

2009-04-28 Thread SCHWARTZKOPFF, Michael, Dr. (Extern)
-Ursprüngliche Nachricht- Von: Brian J. Miller [mailto:wigg...@danconia.org] Gesendet: Dienstag, 28. April 2009 14:15 An: SCHWARTZKOPFF, Michael, Dr. (Extern) Cc: beginners@perl.org Betreff: Re: Problem with threaded Math::GMP SCHWARTZKOPFF, Michael, Dr. (Extern) wrote: > Hi, > > I wante

Re: package variables

2009-04-28 Thread Chas. Owens
On Tue, Apr 28, 2009 at 08:01, Dermot wrote: >> If no import list is supplied, all possible restrictions are assumed, that >> why it's working fine > > > Thanx all. I suspected as much. It's not a practise I'd use > personally.  I'm sorry, I don't understand what you mean by "import > list" here.

Re: Problem with threaded Math::GMP

2009-04-28 Thread Brian J. Miller
SCHWARTZKOPFF, Michael, Dr. (Extern) wrote: > Hi, > > I wanted to the Net::SSH::Perl but perl complained about a missing > Math::GMP. So did a > cpan install Math::GMP > and finally found > /usr/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/Math/GMP.pm > on my system. But when I add this p

Re: package variables

2009-04-28 Thread Dermot
> If no import list is supplied, all possible restrictions are assumed, that > why it's working fine Thanx all. I suspected as much. It's not a practise I'd use personally. I'm sorry, I don't understand what you mean by "import list" here. Dp. -- To unsubscribe, e-mail: beginners-unsubscr...@

Re: package variables

2009-04-28 Thread Chas. Owens
On Tue, Apr 28, 2009 at 06:36, Dermot wrote: > Hi, > > I saw some code like this today: > > > !/bin/perl -w > > package My::Package; > > use strict; > ... > %My::Package::somehash = ( keyone => 'val', keytwo => 'val2'); > > > > The My::Package::somehash isn't declared as with `my` yet the package

package variables

2009-04-28 Thread Dermot
Hi, I saw some code like this today: !/bin/perl -w package My::Package; use strict; ... %My::Package::somehash = ( keyone => 'val', keytwo => 'val2'); The My::Package::somehash isn't declared as with `my` yet the package loads without error or warnings. Is this because the hash is given as

Problem with threaded Math::GMP

2009-04-28 Thread SCHWARTZKOPFF, Michael, Dr. (Extern)
Hi, I wanted to the Net::SSH::Perl but perl complained about a missing Math::GMP. So did a cpan install Math::GMP and finally found /usr/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/Math/GMP.pm on my system. But when I add this path to my lib and started my program I get the error: perl: