I did wonder about this. The relative path I'm using is fine on a link, but guess perl needs the full path instead.
I've not got the hosting details yet so guess I'll have to chase them up from the owner and then I'll be able to see what the full path really is.
THanks for your help!
Ant
ok, I have a website that I'm trying to use as much CGI on as possible.
THe basic idea behind the page I'm having trouble with is that I have reports in a folder: /reports/file1.txt and so on. And I want to open the file and format it all via the CGI.
I am passing a parameter into the CGI...
I couldn't get the list style to apply on IE6 or FF(2.0.0.11)
The solution I used was...
CSS
.bullet dd {
font:14px Verdana;
color:#000000;
text-decoration:none;
background-image: url(images/bullet.gif);
background-repeat: no-repeat;
background-position: 0 .25em...
I have been trawling the net but haven't found a confirmed answer to my question.
Can I put a bullet point "list style" on my <dd> list items??
Many thanks,
Anthony
Not sure what the error was. Couldn't get anything from the log.
I've got to the bottom of it though after trawling google and sites all day. It seemed I was missing the: use CGI 'param'; - it all now seems to be working. Will play around a bit more now.
SO for search purposes the solution was...
Hi,
For some reason I can't get a param that I'm passing in the URL to work, and its driving me nuts.
I have a "cgi-bin/test.cgi?selection=R33" URL that I am trying to get to work.
When I manually define $selection = "R33"; it works fine. When I try to pass R33 as a parameter on the URL (as...
Hi,
Been told to post this here rather than the xhtml forum, so here goes...
I'm building a website for someone and they would like table that can be populated by a specific visitors request.
My initial thoughs were that I'd be able to build a database in SQL to store the table data and then...
Hi,
I'm building a website for someone and they would like table that can be populated by a specific visitors request.
My initial thoughs were that I'd be able to build a database in SQL to store the table data and then submit queries dependant on what the visitor wants to see - like they...
Thanks Miller. The example I was using above was the simplest version of what I was actually trying to do, but it was all sorted in the end. Good to know there are things like this though.
Ant
Thanks for clearing those things up for me!
Hopefully this will give me the tools to go forward get over the hurdles I've got around this functionality.
Anthony
Me again...
I have a hash and I'm trying to access the keys using a specific value. Is it possible??
The simplest example I can give would be the following
#!/usr/bin/perl -w
%data = (
'Jan' => 31,
'Feb' => 28,
'Mar' => 31,
'Apr' => 30);
$val = "31";
foreach $month (keys %data)
{
if...
In the end I took millerH's suggestion, but all help is appreciated. This opened the door for me to make a few extra additional changes to the formatting of the data which has made me much happier with the output.
Once again, tek-tips shines its light on my darkest hour. Thank you!
Anthony
Hi,
I'm still relatively new to Perl, but have managed to put together some scripts for work.
The latest one I'm making is taking a CSV file of data, and creating an XML output.
One of the fields in in all UPPERCASE, and I need to reformat it to Upper Then Lower.
For example the data...
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.