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 strongm 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: *

  1. zitvig

    get XML element name

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

    a simple yes or no question (user input)

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

    a simple yes or no question (user input)

    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?
  4. zitvig

    a simple yes or no question (user input)

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

    a simple yes or no question (user input)

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

    read mp3 tags into database fields

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

Part and Inventory Search

Back
Top