Does any one know what this is referring to or how to fix it?
Can't coerce GLOB to string in entersub at
/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/XML/LibXSLT.pm line 88.
XML::LibXSLT::parse_stylesheet('XML::LibXSLT=HASH(0x8cc31e0)',
'XML::LibXML::Document=SCALAR(0x8c5d6f4)')
Thanks,
Ryan
- Original Message -
From: "Jenda Krynicky" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 12, 2003 9:17 AM
Subject: RE: File not getting written
> From: Rob Das <[EMAIL PROTECTED]>
> > I'm trying to merge a whole bunch of f
From: Rob Das <[EMAIL PROTECTED]>
> I'm trying to merge a whole bunch of files (possibly tens of
> thousands) into one file. Here's my code (with the error checking
> removed for readability):
>
> opendir(INDIR, $indir);
> @logfile=grep(/$mask/i, readdir INDIR);
> closedir(INDIR);
> [EMAIL PROTECT
Rob Das wrote:
> Hi Rob:
>
> I'm trying to merge a whole bunch of files (possibly tens of thousands) into
> one file. Here's my code (with the error checking removed for readability):
>
> opendir(INDIR, $indir);
> @logfile=grep(/$mask/i, readdir INDIR);
> closedir(INDIR);
> [EMAIL PROTECTED]; # num
ldn't
processing the file one record at a time be much slower? I'll go that route
if I have to...
Thanks for your assistance
Rob
-Original Message-
From: Rob Dixon [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 11, 2003 4:11 PM
To: [EMAIL PROTECTED]
Subject: Re: File not getti
Rob Das wrote:
> Hi All:
>
> I added the following line to my program:
> $/ = \65536;
>
> This was because I'm running out of memory when slurping entire files into
> memory (potentially hundreds of meg). However, the (separate) log file I'm
> writing afterwards is not getting created - nor am I ge
From: Rob Das <[EMAIL PROTECTED]>
> I added the following line to my program:
> $/ = \65536;
It'd be better to use
read FILE, $buffer, 65536;
and leave $/ alone. Keep in mind that $/ is global and affects all
filehandles you try to read from using the diamond operator ().
So if possible