Hi all,
I'm working with some XML files using perl-5.8.7 and p5-XML-XPath-1.13 on FreeBSD6.
How do I get the name of an XML element using XPath? I know the position of where this element would be. In the example below I need a function that returns the string "mystery_tag", knowing that this...
yep, Kevin. i discovered chomping as well:)
it's amazing how people from different countries and backgrounds end up doing the same things/thinking the same way... sometimes. whatever.
great stuff rharsh! no rocket science but i had only heard of regex up to a few days ago. Now I'll try to slowly figure out what all the codes mean.
thanks both of you for your help.
p.s.
how do you quote code in this forum like rharsh did?
thanx for your reply max1x.
i thought eq was just an equivalent of ==
i had already tried you suggestion in my previous post. the problem with it is that it will evaluate to true as long as there is "y" anywhere in the string - so "NNNNynnn" is taken as a yes.
i tried your eq suggestion as it...
hi all,
ok - i'm a perl noob. but remember that helping others makes you feel good;)
i just started experimenting with Perl and I'm trying ask the user for confirmation, so I'm doing the following:
print "\nDo you wish to continue? (Y/n)";
my $ok = <>; # ask for user input
if...
Hello there!
As a hobby I was constructing a database of my CDs using MSAccess2002. Lately I decided to copy my CDs on an HD as mp3s.
Is there a way I can read mp3 tags into my fields so I don't spend hours copying and pasting song titles?
I would also like to launch songs from the...
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.