All,
This is my first day in ASP and also WEB programming and i am looking into a requirement which is on my plate when someone is on vacation.
There is a HTML page which returns data in XML format.
Something like this...
Sorry for not being clear, What i am trying to do is pull the data from the database using perl DBI and insert into some other table. When i fetch a row it will be stored into an array..and when i want to insert i need to add quotes or modify elements as per the table requrements.
Row i...
Hi all,
I am a newbie in perl and tried to search perl forums for my question but couldnt get the answer.
Also i am not sure even if it is possible or not..
What i am trying to accomplish is.. I have an array
@data = (a b c d)
and i need to change it as
@data = ('a',b,c,'d').
All i need...
Hi All,
I am not sure whether its related to my read call or something else. But i am stuck after the read call in the program.
I am trying to read data from a file (client/server) program. This program works fine when the file name is to a limited size (for eg...
All,
I am trying to use indicator variable arrays in my fetch statement and i am getting error. This particular chunk of code used to work fine on redhatLinux for past 2 or 3 years. and now we wanted to move to enterprise linux and it is not accepting indicator variable arrays. But it is...
Can somebody help me out if i need to read the last 10 oldest files from a directory without taking into array. The above gives the newest or the oldest.
Thanks for your help
All,
I have a C program with embedded SQL which reads the files and loads them into database. Today i am using a system call to ls -lrt and taking the output into an array to get my oldest file. I am trying to avoid using system call. Is there anyway to retrieve the oldest file from the...
All,
I am trying to do the following in a simple perl script. But as i am very basic to perl i am having tough time getting through.
sample Input files
-----------------
Hello i am fine
JOE::1:122,2:2,3:18,4:37,
i am doing great here
JOE::2:11,3:3,4:3,5:28,6:2
JOE::1:1234,5:12
----------
All...
All,
I am trying to read binary files and i am experiencing premature end of file. I checked with feof() and it reaches end of file. But when i do a strings on the binary file i see more records after it said end of file. Can somebody provide me an insight on this.
thanks in advance
logic4fun
I went through the answer.. I was wondering what if it is this case and i want the difference
Here is a sample of my data:
ID Type VALUE
-- -----
1 10 12
1 8 15
4 10 18
4 15 9
in the above case i need the difference for each id betwen that two rows. such...
All,
I am trying to write a query on the following data..
Identifier VAlue
1002 1
1002 7
1002 10
1003 1
1003 5
1003 7
1003 10
1004 7
1004 10
from the above i would like to query all the identifier which ontail values 1 and 5 and 7. so the...
lock file technique is good. but we dont want to rely on file handles and files as this is a critical application and in somecases the file system may put us..in trouble.
thanks
logic4fun
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.