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