In the documentation it says that you can read files chunks at a time
but I haven't tried it.
> Ken Foskey
> FOSS developer
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
On 6/15/07, Ken Foskey <[EMAIL PROTECTED]> wrote:
On Fri, 2007-06-15 at 14:08 -0700, [EMAIL PROTECTED]
wrote:
> Sweet Chas!
>
> My two cents is to check out XML::Twig at http://www.xmltwig.org/ .
>
> It's easy to get a grip on and well suited to reading attributes as
> well as elements in element
On Fri, 2007-06-15 at 14:08 -0700, [EMAIL PROTECTED]
wrote:
> Sweet Chas!
>
> My two cents is to check out XML::Twig at http://www.xmltwig.org/ .
>
> It's easy to get a grip on and well suited to reading attributes as
> well as elements in elements.
Looks interesting, would this reasonably hand
Sweet Chas!
My two cents is to check out XML::Twig at http://www.xmltwig.org/ .
It's easy to get a grip on and well suited to reading attributes as
well as elements in elements.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.or
On Jun 14, 11:17 am, [EMAIL PROTECTED] (Chas Owens) wrote:
> Do you mean like this?
>
> #!/usr/bin/perl
>
> use strict;
> use warnings;
>
> use XML::Simple;
>
> my $xml = XMLin(join "", );
>
> for my $rec (@{$xml->{RejectRecord}}) {
> printf qq(customer %-9.9s had error %d "%s"\n),
>
On 6/14/07, Ray <[EMAIL PROTECTED]> wrote:
snip
Oh, one other thing.. What If I wanted to iterate over the "Code" tag
as well? Notice there is 2 Code tags that mean different things. One
is the Customer unique identifier ("LarryBoy") and the other is the
Reject Code ("1234"). I am interested in i
On Jun 14, 6:26 am, [EMAIL PROTECTED] (Chas Owens) wrote:
>
> However, I bet you want to iterator over all of the contents of the
> RejectRecord key like this
>
> my $max = @{$ref->{RejectRecord}};
> for my $i (1 .. $max) {
> print "record $i of $max failed because
> $ref->{RejectRecord}[$i-1]{
On 6/14/07, Ray <[EMAIL PROTECTED]> wrote:
On Jun 14, 6:26 am, [EMAIL PROTECTED] (Chas Owens) wrote:
>
> However, I bet you want to iterator over all of the contents of the
> RejectRecord key like this
>
> my $max = @{$ref->{RejectRecord}};
> for my $i (1 .. $max) {
> print "record $i of $max
On Jun 14, 6:26 am, [EMAIL PROTECTED] (Chas Owens) wrote:
>
> However, I bet you want to iterator over all of the contents of the
> RejectRecord key like this
>
> my $max = @{$ref->{RejectRecord}};
> for my $i (1 .. $max) {
> print "record $i of $max failed because
> $ref->{RejectRecord}[$i-1]{
On 6/13/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi
I'm struggling with the use of XML::Simple so was hoping that someone
might be able to help me. I'm kind of new to perl, especially when
dealing with hash references. I would like to iterate through the hash
that is created by the XMLIn
[EMAIL PROTECTED] 写道:
The a sample of the contents of the XML file is found below: Notice
that I've hardcode the first reference to Rejected Records by using
[0]. Well I need to know how of these there are in the hashref $ref so
I can iterate through.
Hello,
Since you've used Data::Dumper you
Hi,
I'm struggling with the use of the XML::Simple package and was hoping
to get some help. I'm kind of new to perl, especially dealing with
hash references. I would like to be able to iterate through a hashref
that is built using XMLin. Here is the code:
--
To unsubscribe, e-mail: [EMAIL PROTEC
Hi
I'm struggling with the use of XML::Simple so was hoping that someone
might be able to help me. I'm kind of new to perl, especially when
dealing with hash references. I would like to iterate through the hash
that is created by the XMLIn function. Here is my code:
use Env qw(GMNHOME GMNSQLSRV
13 matches
Mail list logo