Hi,
Please see below code snippet and advise on what I may be doing wrong. Trying to print only once instance of EAN or ISBN per record. Each xml record lists one or multiple ISBN or EAN identifiers, but I want my output to list (in this order) the first found EAN, and if no EAN exists the...
I've tried every which way (newbie here), but can't seem to come up with a good solution.
here's an example of the raw data:
<tag1>01234567890
<tag2>apple
<tag3>juice
<end>
<tag1>12345678901
<tag2>orange
<tag3>juice
<tag4>ACT
<end>
Here's the desired (pipe-delimited) output needed...
Hi there,
I'm new to XML and having a hard time with below.
here is my original XML data:
<productidentifier>
<b221>02</b221>
<b244>0123456789</b244>
</productidentifier>
<productidentifier>
<b221>03</b221>
<b244>9780123456789</b244>
</productidentifier>
<othertext>
<d102>02</d102>...
I'm on W-xp, so I installed cronw service last night. This is my first time dealing with crons. I already read the FAQ on this site, but everything is geared towards unix.
the intended perl script to be run via cronjob works fine when I run it directly, so I know that's not where the problem...
I need help figuring out how to incorporate/get sum total of strings, while inside a foreach block. any help will be appreciated.
Here's the code:
_________________________________________
#!usr/bin/perl
use strict;
use File::stat;
our $dir_path = 'C:\path_name';
open DIR, $dir_path or die...
This is my first post, and after looking through various threads I still can't find a solution to below. A little help would be GREATLY appreciated.
Below script works swell, but now i've also been asked to include file size and modified date. I've tried a few i found on various threads, but...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.