Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

No Subject



Sorry if this is unreadable; I'm trying to get a Winblows Strumpet
Winschlock-based mailer to work for my wife (I'm trying to wean her off
it but the stories she tells me about what she managed to do to the last
two Unix systems she was allowed to touch are scary :-).  (Actually, the
Trumpet Winsock looks like a pretty well put-together piece of software.)

I don't trust it to wrap included stuff properly....

In message <199611270020.JAA29816@example.com>
   "Re: Evaporation of Netscape+Java "
   ""Jim Schweizer" <schweiz@example.com>" wrote.

schweiz> BTW I put an automated mail response page on the TLUG front page, 
but 
schweiz> can't seem to get an <a href=".... tag to work in the 
feedback.pl. 
schweiz> Any of you Perl geniuses know the proper print statement? I 
tried:
schweiz> 
schweiz> print("<a href="index.html">Back</a>"); and the script died. 
Sorry, 
schweiz> I'm new to Perl.

It's simple enough; like all packages using C syntax for strings (all the
GNU text utilities and Unix shells, Emacs-LISP, etc) you need to quote
quotes:

print "<a href=\"index.html\">Back</a>";

should do the trick.  You can also avoid any character-level quoting by 
using single quotes instead of double quotes for the outside quotes:

print '<a href="index.html">Back</a>';

(You do need to quote single quotes inside single quotes, but that's 
the only thing.)  The parens are optional....

Steve


-----------------------------------------------------------------
a word from the sponsor will appear below
-----------------------------------------------------------------
The TLUG mailing list is proudly sponsored by TWICS - Japan's First
Public-Access Internet System.  Now offering 20,000 yen/year flat
rate Internet access with no time charges.  Full line of corporate
Internet and intranet products are available.   info@example.com
Tel: 03-3351-5977   Fax: 03-3353-6096

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links