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

    embedding image in XML file

    Hi, I am in need to embed image into XML file so that when somebody else uses the XML file, the image is still there. Is there any way to do this? Is it possible? Please give me some suggestions if you know about. Thanks a lot.
  2. dipti1

    help with pattern matching

    Hi, I need to extract the word within < > and </ and > and save it to a variable. For example, <name> and </name>. The text file has such patterns in it. I need to extract the string from those tags. I used pattern matching as under: while(my $line1 = <FILE1>){ # for mathing <name> if($line1...
  3. dipti1

    help wanted for comparing two xml files

    Hi, I need to compare two xml files. I need to compare only the tags and not the values. If it was only to compare two files, I could use File::compare. However, for my purpose of comparing only the tags, I somehow will have to extract the words between the < and > and compare each of them...
  4. dipti1

    Converting hex into binary

    Hi there, Is there any method of converting hex number into binary number? For example, if I have 000d, then I need to have, 0000000000000000000000000001101, that is 32 bit binary. Thank you so much!
  5. dipti1

    changing the @INC to include the path

    Hi there, I want to change the @INC to include the path in my home directory where I have installed Array::Compare module ? Can anybody suggest me the way to modify the @INC variable to include the path ? Thanks!
  6. dipti1

    comparing two arrays to find out if they are permuation of each other

    Oh I am sorry that I did not make the problem more clear. Suppose I have an array a = {2,1,3} also suppose I have an array b = {1,2,3}. So now, I want to check if some ordering of array b matches with array a. The sequence of elements of array b can be: {1,2,3},{2,1,3},{3,1,2},{3,2,1}...and...
  7. dipti1

    Array::Compare error

    Hi there, When I use use strict; use Array::Compare; I get the following error: Can't locate Array.pm in @INC (@INC contains: /usr/lib/perl5/5.8.5/i586-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5...
  8. dipti1

    comparing two arrays to find out if they are permuation of each other

    Thanks but this does not work. I need to check if some permuation of @b is equal to @a. Is there any in built subroutine or function in perl that will check this ? Thank you, priya
  9. dipti1

    comparing two arrays to find out if they are permuation of each other

    Hi there, Is there any way of comparing two arrays in perl to find out if they are permuation of each other ? For example, if @a = {1,2,3}; @b = {3,1,2}; they the result should be true. Thank you in advance, priya

Part and Inventory Search

Back
Top