This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > March 2004 > how do i edit a .pl file





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author how do i edit a .pl file
markosillypig

2004-02-29, 6:28 pm

how do i edit a .pl file from my server its a form aid i can not edit it ??? please help


regards

marko
Murray *TMM*

2004-02-29, 6:28 pm

Notepad, SimpleText, and Dreamweaver all work nicely.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"markosillypig" <webforumsuser@macromedia.com> wrote in message
news:c1tm0b$4qv$1@forums.macromedia.com...
> how do i edit a .pl file from my server its a form aid i can not edit

it ??? please help
>
>
> regards
>
> marko



Alan Ames

2004-02-29, 6:28 pm

you can open it in dreamweaver, or you could open it in a text editor.
If it doesn't open in dreamweaver, suggest to just rename the file to a .cgi
file extension. It should open then.
Suggest also to go into dreamweaver preferences, Code Format- and change
line feed type to UNIX (if you have unix type hosting) And line wrapping to
1024 characters.

a good text editor is my preference.

Also- am curious- is the info you are giving about blueyonder a different
site or question than the info on hosting you replied to me??

And a site note a touched on much earlier-
If you can use some other scripting on your hosting, such as php; instead of
Perl- they are almost always far far easier to edit and get working without
problems than PERL scripts.

> how do i edit a .pl file from my server its a form aid i can not edit it
> ??? please help
>
>
> regards
>
> marko


kapish5

2004-02-29, 6:28 pm

on the mac platform, we have good luck using macperl.

i think the rule to follow is that you can use any word processing app [ms
word!] but you must save it and upload it in binary format.

basically, you should fear formatting code that is added to your script [not a
good thing!] maybe you can do a search for "perl editors".

a bit vague but it may be helpful.


Murray *TMM*

2004-02-29, 6:28 pm

perl is plain text and can be edited in SimpleText, no?

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"kapish5" <webforumsuser@macromedia.com> wrote in message
news:c1to9c$7bn$1@forums.macromedia.com...
> on the mac platform, we have good luck using macperl.
>
> i think the rule to follow is that you can use any word processing app

[ms
> word!] but you must save it and upload it in binary format.
>
> basically, you should fear formatting code that is added to your script

[not a
> good thing!] maybe you can do a search for "perl editors".
>
> a bit vague but it may be helpful.
>
>



Steve

2004-02-29, 8:28 pm

On Sun, 29 Feb 2004 22:15:08 +0000 (UTC), kapish5 in macromedia.dreamweaver wrote:
>on the mac platform, we have good luck using macperl.


> i think the rule to follow is that you can use any word processing app [ms
>word!] but you must save it and upload it in binary format.


No, one wants to stay away from a word processor like MSFT Word. Word
processors tend to add formatting.

For code, one should always use a text editor -- different than a word
processor.

> basically, you should fear formatting code that is added to your script [not a
>good thing!] maybe you can do a search for "perl editors".


Any text editor is a 'perl editor'.

If one is on the Mac, look at SimpleText, or the BBedit.

--

Murray *TMM*

2004-02-29, 9:28 pm

Steve:

You can use Word - just make sure you save as text.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Steve" <sda@netscape.net> wrote in message
news:slrnc44vp4.60l.sda@barnyard.sweetpig.dyndns.org...
> On Sun, 29 Feb 2004 22:15:08 +0000 (UTC), kapish5 in

macromedia.dreamweaver wrote:
>
[ms[color=darkred]
>
> No, one wants to stay away from a word processor like MSFT Word. Word
> processors tend to add formatting.
>
> For code, one should always use a text editor -- different than a word
> processor.
>
[not a[color=darkred]
>
> Any text editor is a 'perl editor'.
>
> If one is on the Mac, look at SimpleText, or the BBedit.
>
> --
>



Steve

2004-03-01, 1:28 am

On Sun, 29 Feb 2004 19:51:57 -0500, Murray *TMM* in macromedia.dreamweaver wrote:
>Steve:


>You can use Word - just make sure you save as text.


One can, but it's not a good idea. I've seen funky formatting sometimes, even
saving as text.

Best to use a real text editor -- they're made for programming.

--
_..-'( )`-.._
./'. '||\\. (\_/) .//||` .`\.
./'.|'.'||||\\|.. )O O( ..|//||||`.`|.`\.
./'..|'.|| |||||\`````` '`"'` ''''''/||||| ||.`|..`\.
./'.||'.|||| ||||||||||||. .|||||||||||| ||||.`||.`\.
/'|||'.|||||| ||||||||||||{ }|||||||||||| ||||||.`|||`\
'.|||'.||||||| ||||||||||||{ }|||||||||||| |||||||.`|||.`
'.||| ||||||||| |/' ``\||`` ''||/'' `\| ||||||||| |||.`
|/' \./' `\./ \!|\ /|!/ \./' `\./ `\|
V V V }' `\ /' `{ V V V
` ` ` V ' ' '
Steve Fleischer

2004-03-01, 1:28 am

On Sun, 29 Feb 2004 23:42:46 -0500, Steve wrote:

> Best to use a real text editor -- they're made for programming.


I use these (for Perl):

http://www.dzsoft.com/dzperl.htm
http://www.xarka.com/optiperl/

--
Steve
www dot flyingtigerwebdesign dot com
Hong Kong, 01-Mar-04 1:14:56 PM
Murray *TMM*

2004-03-01, 8:28 am

Not to be argumentative, but Word cannot do funky formatting in a document
saved as text. It's just text.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Steve" <sda@netscape.net> wrote in message
news:slrnc45fq6.60l.sda@barnyard.sweetpig.dyndns.org...
> On Sun, 29 Feb 2004 19:51:57 -0500, Murray *TMM* in macromedia.dreamweaver

wrote:
>
>
> One can, but it's not a good idea. I've seen funky formatting sometimes,

even
> saving as text.
>
> Best to use a real text editor -- they're made for programming.
>
> --
> _..-'( )`-.._
> ./'. '||\\. (\_/) .//||` .`\.
> ./'.|'.'||||\\|.. )O O( ..|//||||`.`|.`\.
> ./'..|'.|| |||||\`````` '`"'` ''''''/||||| ||.`|..`\.
> ./'.||'.|||| ||||||||||||. .|||||||||||| ||||.`||.`\.
> /'|||'.|||||| ||||||||||||{ }|||||||||||| ||||||.`|||`\
> '.|||'.||||||| ||||||||||||{ }|||||||||||| |||||||.`|||.`
> '.||| ||||||||| |/' ``\||`` ''||/'' `\| ||||||||| |||.`
> |/' \./' `\./ \!|\ /|!/ \./' `\./ `\|
> V V V }' `\ /' `{ V V V
> ` ` ` V ' ' '



Steve Fleischer

2004-03-01, 9:28 am

On Mon, 1 Mar 2004 07:17:25 -0500, Murray *TMM* wrote:

> Not to be argumentative, but Word cannot do funky formatting in a document
> saved as text. It's just text.


No argument from me. :-)
--
Steve
www dot flyingtigerwebdesign dot com
Hong Kong, 01-Mar-04 9:08:47 PM
robot88888888

2004-03-01, 10:28 am

> If it doesn't open in dreamweaver, suggest to just rename the file to a
..cgi
> file extension. It should open then.


You could also:
-Go into DW's Preferences
-Select File Types / Editors
-Click the plus sign (+) above the Extensions list box
-Type .pl
-Click the plus sign (+) above the Editors list box
-Select DW as the editor
-Click OK

Your PERL files should now open in DW without having to change them to .cgi.
(That's if you're not using the .cgi extension already)


Steve

2004-03-01, 7:28 pm

On Mon, 1 Mar 2004 07:17:25 -0500, Murray *TMM* in macromedia.dreamweaver wrote:
>Not to be argumentative, but Word cannot do funky formatting in a document
>saved as text. It's just text.


Well perhaps when you've programmed as long as I have, you will see that
happen. I have seen MSFT Word keep wierd formatting from the processor, when
saved as text. That's why hard core programmers say never to use a word
processor. I've been programming since the early 80s, b4 there was a web.

So do what you wish, just giving the advice NOT to use MSFT Word for
programming. Use a text editor. There are many free ones available for
Windoze and or Mac. Many of which feature code highlighting for the various
languages.

--
_..-'( )`-.._
./'. '||\\. (\_/) .//||` .`\.
./'.|'.'||||\\|.. )O O( ..|//||||`.`|.`\.
./'..|'.|| |||||\`````` '`"'` ''''''/||||| ||.`|..`\.
./'.||'.|||| ||||||||||||. .|||||||||||| ||||.`||.`\.
/'|||'.|||||| ||||||||||||{ }|||||||||||| ||||||.`|||`\
'.|||'.||||||| ||||||||||||{ }|||||||||||| |||||||.`|||.`
'.||| ||||||||| |/' ``\||`` ''||/'' `\| ||||||||| |||.`
|/' \./' `\./ \!|\ /|!/ \./' `\./ `\|
V V V }' `\ /' `{ V V V
` ` ` V ' ' '
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews