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

Re: Alpha (was: .pl suffix (was: [MacPerl] open() misfeature? ))



On Tue, Mar 4, 1997 3:16 AM, Gaspard Gendreau
<mailto:Gaspard@valhall.esrin.esa.it> wrote: 
>When I Command-double-click on a keyword, Alpha opens the file "Perl
>Commands" which describes Perl 4 commands. If I change in menu
>"Config:Current Mode:Flags" from PerlVersion 4 to 5,
>Command-double-click has no effect.
>I found in the file perl5.tcl the following:
>------
>    if {![info exists perlDocs]} {
>	    "set perlDocs "$HOME:Help:Perl Docs"
>    }
>------
>

>I don't speak tcl, but I understand that it is looking for the file
>"Perl Docs" in Alpha's folder Help. I have no such file; has it been
>written with all Alpha marks, colors and hyperlinks?

Renaming "Perl Commands" to "Perl Docs" might do the trick. Either that or
you could change the proper line in the perl5.tcl to read:

"set perlDocs "$HOME:Help:Perl Commands"

The MacPerl help menu under Alpha makes a distinction between "Perl4
Commands" and "Perl5 Manual". I don't know the reason for the difference.
"Perl4 Commands" looks just like a text version of the perl man page. Does
anybody know if this thing (the Alpha version) has been updated for perl5?

>Or would it be possible to have Shuck open and find the keyword?
>

The perl mode .tcl files could be made to do this if you use the new
version of Shuck. I think that staying within Alpha would be better though.

later,

---Dave---

=========================================================
David C. Schooley                 | Hey, New York,
Ph.D. in progress                 |  Please restore Georgia's state flag
Georgia Tech Electric Power       | to its rightful place in your
email: schooley@ece.gatech.edu    | capitol building.
http://www.ee.gatech.edu/users/schooley/
---------------------------------------------------------
Cyberdog ---A Product of Apple Computer, Inc.
---------------------------------------------------------