> Programming Languages > Perl
Various Topics Home | Disclaimer | Report Adult Posts

Various Topics on Perl



Perl - "Search file - Help needed please" in Programming Languages


Old 11-18-2004   #1
..ier.. ..
 
Default Search file - Help needed please

Hello,

I'm a newbie and I want writing a perl script.
I explain what I want doing.

Here is my file ref.txt:

A01 /ref/a01.pdf
A02 /ref/a02.pdf
A03 /ref/a03.pdf
etc..

When you enter A01 in the html search page the script open a new
windows with the coresponding pdf file (/ref/a01.pdf).

Could anyone help me please?

Best regards,

Thierry
 
Old 11-18-2004   #2
.... ..l..
 
Default Re: Search file - Help needed please

"Thierry B." <mrjaune@hotmail.com> wrote in message
news:b4e11da7.0411180959.1ef6fbf7@posting.google.c om...
> Hello,
>
> I'm a newbie and I want writing a perl script.
> I explain what I want doing.
>
> Here is my file ref.txt:
>
> A01 /ref/a01.pdf
> A02 /ref/a02.pdf
> A03 /ref/a03.pdf
> etc..
>
> When you enter A01 in the html search page the script open a new
> windows with the coresponding pdf file (/ref/a01.pdf).
>
> Could anyone help me please?


What have you tried so far?

The following do***ents will be most helpful. If you have not done so
already, read them. Then make an attempt, show us what you have, and we
can probably help correct errors.

perldoc CGI
perldoc -f open
perldoc -f readline
perldoc -f substr
perldoc -f print

Paul Lalli

 

Thread Tools
Display Modes





Powered by vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0