Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > Search file - Help needed please

Reply
Thread Tools

Search file - Help needed please

 
 
Thierry B.
Guest
Posts: n/a
 
      11-18-2004
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
 
Reply With Quote
 
 
 
 
Paul Lalli
Guest
Posts: n/a
 
      11-18-2004
"Thierry B." <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) 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 documents 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

 
Reply With Quote
 
 
 
 
Thierry B.
Guest
Posts: n/a
 
      11-19-2004
Thank you for your help Paul.
I will read the document you suggest and then show what I've done.

"Paul Lalli" <(E-Mail Removed)> wrote in message news:<%P5nd.5611$%M4.4069@trndny08>...
> "Thierry B." <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed) 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 documents 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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
beginner with C : quick search or binary search help needed with forand while bpascal123@googlemail.com C Programming 9 07-03-2009 08:00 PM
Help Help Help Pentax S5i Help needed (Please) The Martian Digital Photography 14 06-20-2008 07:56 AM
search within a search within a search - looking for better way...my script times out Abby Lee ASP General 5 08-02-2004 04:01 PM
please help... ...me learn C++ please please please :) KK C++ 2 10-14-2003 02:08 PM



Advertisments