I have written a csh script which will output file named " myoutput.html " displayed below. I am tried to ftp this html file into a local web server so that it can be displayed to public sharing this server and i would want to add a hyperlink to " XX " , " YY " , " ZZ ". Can this be done using perl ? Can anybody show me an example of the code to perform this ?
How about the ftp part ? How can i ftp this whole portion over?
I tried to copy everything into a file named webfile by using print "<html>\r\n"; > webfile but it's showing syntax error.
Can i do the appending of lines to file name " webfile " so as to ease the ftp portion by shell ? I try to perform the below but it's showing some error . Can you help ?
Thanks for your code.
I roughly know how your perl code works now.
But just one more question.
My shell script created a file named " shelloutput "
where " shelloutput " is the below:
XX 20 $50
YY 30 $60
ZZ 40 $70
How can i pass each term in this file as a variable to the perl code?
In your earlier code, you have assumed 20 as the term for your $XXval variable but in actual fact we do not know until we actually look at the shelloutput file ourself. What we know is that the ouput will be in the form of a 3 x 3 matrix where each term is seperated by spaces and the $XXval will always be the 2nd field if "XX" is the first field
well, don't expect anyone to guess the error, especially me. Post your errors if any, if not, try to include the terminating semi colon after the line.
By the way, i am trying to align each text displayed on the browser so that each column starts from the same vertical line. Do you know which html tag does the trick ?