Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: GZPM
  • Content: Threads
  • Order by date
  1. GZPM

    Parsing XML with XML::Twig help

    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...
  2. GZPM

    re-arranging flat file into pipe-delimited

    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...
  3. GZPM

    retrieve portions of XML data via perl and output to text file

    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>...
  4. GZPM

    anyone familiar with cronw? I can't my cronjob to run

    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...
  5. GZPM

    get sum total of strings

    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...
  6. GZPM

    Adding file size and modified date

    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...

Part and Inventory Search

Back
Top