> "LY" == Li Yi writes:
LY> I have encounter a problem in which i need to scan over all the files
LY> within a directory tree. My script is like the following
before we get into your code, where are you learning perl? this is very
old style perl. it is perl 4 to be exact which is very ve
2010 18:09:01 -0500
Subject: Re: A problem while using XML::Parser::PerlSAX
From: greg.jar...@gmail.com
To: q15...@hotmail.com
Jason,
I have not worked with PerlSAX, however I played around with SAX in Java and
have an idea you can try out.
I'm not sure if you can do this in PerlSAX, but in J
1 Jul 2010 08:09:20 +0200
> Subject: Re: A problem while using XML::Parser::PerlSAX
>
> From: Jason Feng
> > I am using XML::Parser::PerlSAX
> > to parse a 300M XML file. I meet a strange issue with handler characters.
> > This handler is supposed to return
> >
From: Jason Feng
> I am using XML::Parser::PerlSAX
> to parse a 300M XML file. I meet a strange issue with handler characters.
> This handler is supposed to return
> all the contents between start markup and end markup. But sometimes it just
> returns one part of the whole contents. On the second
> ""Thomas" == "Thomas H George" writes:
"Thomas> I have learned a lot and really appreciate such quick and instructive
"Thomas> responses.
And if you have overall feedback about the book, I'm always curious so I can
fold it into the next edition.
--
Randal L. Schwartz - Stonehenge Consult
Thanks for three very helpful answers. I see that my original problem
was to focus on getting the variables correct and not paying attention
to the data I was sending to them. The three answers I received went
far beyond correcting that to point out other improvements and important
programing too
Thomas H. George wrote:
> The difficulty is in the next to last line, the 'unless ...'
> statement which causes warning:
> Use of uninitialized value in string eq at chap4-take6.pl line 49.
Some debugging hints:
1. Set the output autoflush ($|) Perl variable to a true value near the
top of your
Thomas H. George wrote:
I am inching my way through INTERMEDIATE PERL and tried using hashes to
solve Chapter 4, Problem 2. I never used hashes before but my attempted
solution convinced me of their value as contrasted to the solution with
arrays.
The Problem: My solution works but with an err
Hope this helps you...
#!/usr/bin/perl -w
# formatted with perltidy
use warnings;# I always use this
use strict;
my %required_list = (
life_jacket => 'preserver',
lotion => 'sunscreen',
water => 'water_bottle',
coat=> 'jacket',
);
my %captain = (
name
Check that the entry
127.0.0.1 localhost
is present.
How to check the this entry? I added this entry to
httpd.conf and listen 127.0.0.1:80. However, I got the
error message. Do you have any other ideas?
I also checked. I am convinced that I didn't have
that configured in httpd.conf. How could
zhou jian am Mittwoch, 22. Februar 2006 22.40:
> Hello perl fellows:
Hi Paul
This is the wrong list for this question (see your subject) but:
> I encountered a problem when I was installing a perl
> module. The httpd server related module was hanging
> overnight when it was trying to test
> http
Thanks, Zentara,
The problem was fixed.
zentara wrote:
On Tue, 10 May 2005 12:31:34 +0800, [EMAIL PROTECTED] (Frank) wrote:
Sorry if my question is stupid or too simple. I have google the answer
but got too much information
I test my GD module to check whether it can be used since there are
Thanks a lot.
On Mon, 03 Jan 2005 03:21:24 -0500, Randy W. Sims
<[EMAIL PROTECTED]> wrote:
> Perl Hacker wrote:
> > Below is my script,
> > When I run the script, everything is ok.
> >
> > #! /usr/bin/perl âw
> >
> > print "111\n";
> > warn "222 \n";
> >
> >
> > Problem emerges when using the fol
Perl Hacker wrote:
Below is my script,
When I run the script, everything is ok.
#! /usr/bin/perl âw
print "111\n";
warn "222 \n";
Problem emerges when using the following command line under csh,
$test.pl >& test.log
Where test.log is like:
222
111
However, what I experted is:
111
222
Do you guys ha
Teng Wang wrote:
I wanna match a specific pattern using grep().
My pattern has two parts:
1. exclude "." or ".." (to exclude the current and parent
directory in unix)
2. the file type is jpg.
The first pattern I am using is !/^\.\.?$/
The second is /\.jpg$/i
How to combine them together? using t
wyh wrote:
> I want to install perl to my target board with mipsel-linux.How can I cross-compile
> and install perl under i686-linux(red hat)? I tried to do cross-compiling many times
> as follows:
>
> ./Configure -Dcc=mipsel-linux-gcc -Dld=mipsel-linux-ld -Dnm=mipsel-linux-nm
> -Dlocincpth=...
Is there anybody that can help me ?
Thank you very much!
>
> When I use following option of the TK::Tree:
> --
> Name: browseCmd
> Class: BrowseCmd
> Switch: -browsecmd
> Specifies a callback to call whenever the user browses on an entry (usually by
>si
: [EMAIL PROTECTED]
> Tivoli/IBM E-mail: [EMAIL PROTECTED]
>
>
>
> Chas Owens <[EMAIL PROTECTED]> on 2001-06-25 18:28:41
>
> Please respond to Chas Owens <[EMAIL PROTECTED]>
>
> To: [EMAIL PROTECTED]
> cc:(bcc: Ying Biao Zhou/China/IBM)
> S
Send us some code Ying,
Thanks...
SunDog
At 06:04 PM 6/25/01 +0800, you wrote:
>
>What shall I do when I get the foloowing message?
>"Can't call method "getColumns" without a package or object reference at
>getColumns.pl line 3"
>
>Best regards
>
>Peter Zhou
First: go to line 3 of getColumns.pl and look for syntax errors on the
line and lines surrounding it.
Second: make certain all variables are declared using my, our, or local
(use vars "$varname" is okay too).
Third: make certain that all of the variables and subroutines are
spelled correctly in
20 matches
Mail list logo