ExtUtils::Installed and Unicode

2001-02-04 Thread Geoff Capper

G'day everyone,

I have encountered a problem using the ExtUtils::Installed module. The small
script was used to eliminate all other possibilities in a (slightly) larger
version:

use strict;
use ExtUtils::Installed;

my ($inst) = ExtUtils::Installed-new();

my (@modules) = $inst-modules();

foreach my $module (@modules) {
 print "$module\n";
}
exit;

When I run this I get the following error :

Can't find unicode character property definition via main-e or e.pl at
unicode/Is/e.pl line 0.

The file e.pl doesn't exist in the directory specified. I am at a loss!

Any ideas on where this error may be coming from would be greatly
appreciated.

Cheers,

Geoff Capper



___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users



Re: More efficient way to write?

2001-02-04 Thread Paul Popour

- Original Message - 
From: "jim" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 02, 2001 10:46 PM
Subject: More efficient way to write?


 hi perl friends,
 
 is there a more efficient/elegant way to write line no. 11 below?
 
 thanks!
 
 
 #!perl.exe -w
 
 use File::Find; #line 1
 use strict; #line 2
 my %dir; #line3
 my $suffix = ['html', 'htm', 'doc']; #line 4
 my $path = 'c:/hdb'; #line 5
 find(\wanted, $path); #line 6
  foreach (keys %dir) { #line 7
  print "$_ - $dir{$_} $$suffix[0] files\n" #line 8
 }#line 9
 sub wanted { #line 10
 return unless /\.$$suffix[0]|\.$$suffix[1]|\.$$suffix[2]|/i; #line 11
 $dir{"$File::Find::dir"}++; #line 12
 1; #line 13
 } #line 14
 

Change line 4 to - my @suffix = ('html', 'htm', 'doc'); 
then add - for (@suffix) {$hash1{"\U$_\E"} = 1 };
and change line 11 to - return unless $hash1{"\U$_\E"};


___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users



Re: Problems with instalation of XML::Parser 2.30

2001-02-04 Thread Nikola Knezevic

Dana 04.02.01, David LaPointe napisa:

 If the goal is to just get PPM fixed, there may be a faster way to do that.
 Why not just try using the MSI installer to uninstall Perl and then
 re-install it? I've done that a couple of times in the last couple of weeks,
 and it seems to work pretty well. Back up your C:\Perl\site\lib\ppm.xml so
 you won't loose the list of installed modules, but otherwise it should be
 O.K. See if that repairs the problem. If it works, it will have been a lot
 faster than trying to wade through all those compiler errors. No?

Nope, First of all, I'm using Perl 5.005. Second of all, there are many
modules installed 'by hand', without using ppm, but they were without c
parts. Third of all, I'm on 486 (yeees, that exists), so, any reinstalling
would be very painfull and lasting operation.
But, thanks for suggestion.

My goal is to find why @@@!#!!$%!$ expat won't compile, and how to do that
kind (with c parts) of module installation by hand.

-- 
... Dete je naslo kutiju sibica. I bi svetlost!

 - --- -- ---=- --==---===-[Nikola Knezevic]---===+
+- -=- -==--=- -=-- --- -- - http://users.hemo.net/indy --- -- -


___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users



Re: Problems with instalation of XML::Parser 2.30

2001-02-04 Thread Sisyphus

Hi Nikola,
From Indigostar's home page:
Quote
 Installing CPAN modules requires that you have Microsoft DevStudio or
nmake.exe installed.  If you are installing modules that contain xs files,
then you need DevStudio, otherwise you only need nmake.exe.
End Quote.

XML::Parser contains an xs file. Try compiling it with DevStudio.
Good luck.

Cheers,
Rob
Visit our website at http://www.kalinabears.com.au
- Original Message -
From: Nikola Knezevic [EMAIL PROTECTED]
To: David LaPointe [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, February 05, 2001 6:57 AM
Subject: Re: Problems with instalation of XML::Parser 2.30


 Dana 04.02.01, David LaPointe napisa:

  If the goal is to just get PPM fixed, there may be a faster way to do
that.
  Why not just try using the MSI installer to uninstall Perl and then
  re-install it? I've done that a couple of times in the last couple of
weeks,
  and it seems to work pretty well. Back up your C:\Perl\site\lib\ppm.xml
so
  you won't loose the list of installed modules, but otherwise it should
be
  O.K. See if that repairs the problem. If it works, it will have been a
lot
  faster than trying to wade through all those compiler errors. No?

 Nope, First of all, I'm using Perl 5.005. Second of all, there are many
 modules installed 'by hand', without using ppm, but they were without c
 parts. Third of all, I'm on 486 (yeees, that exists), so, any reinstalling
 would be very painfull and lasting operation.
 But, thanks for suggestion.

 My goal is to find why @@@!#!!$%!$ expat won't compile, and how to do that
 kind (with c parts) of module installation by hand.

 --
 ... Dete je naslo kutiju sibica. I bi svetlost!

  - --- -- ---=- --==---===-[Nikola Knezevic]---===+
 +- -=- -==--=- -=-- --- -- - http://users.hemo.net/indy --- -- -


 ___
 Perl-Win32-Users mailing list
 [EMAIL PROTECTED]
 http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users



RE: modules compilation problem: missing separator????

2001-02-04 Thread Steven Wadding

At 10:09 PM 2/2/01 -0500, Thiebaud Richard wrote:
Your particular error might be solved by using nmake instead of gnu make;
I've had
similar errors.  "nmake" is downloadable from Microsoft.

Where does one find nmake at Microsoft?

Steve W.

Steven Wadding
[EMAIL PROTECTED]

___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users



nmake was Re: modules compilation problem: missing separator????

2001-02-04 Thread Sisyphus

Hi,
There's probably a later version of nmake than the one my link downloads :-)
Stuffed if I can find it, however.
Anyone?
Cheers,
Rob
Visit our website at http://www.kalinabears.com.au

___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users



Re: `backticks` broken

2001-02-04 Thread Rodger Duffett

Hi,

 Installed build 523 from CD onto laptop whose hard drive crashed a while
 ago. output of backticks goes to screen instead of into perl.

I had trouble with this some time back and seem to remember that it was a
bug in builds before 62x. The CHANGES.HTML file in the html dir lists a
couple of changes referencing backticks.

Cheerio
Rodger

___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users