OS X - Operating System General OS operation information and support

OS 10.5 - How to save as a .pl


Post Reply New Thread Subscribe

 
Thread Tools
Sub-Zer0

 
Member Since: Jan 31, 2009
Posts: 49
Sub-Zer0 can only hope to improve

Sub-Zer0 is offline
I installed perl but I cannot save as .pl its always bla.pl .rtf

I'm saving with TextEdit. How can I save as .pl?
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Ottawa
Posts: 15,452
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is offline
Perl is installed by default .

You should be using an editor more suited for the job. I recommend something like Smultron although you could look into using something like TextMate, BBEdit, TextWrangler or even Eclipse with EPIC (Perl dev env for Eclipse).

The problem with TextEdit is that it is a rich text editor which will greatly problematize your code as the files you save will be saved with rich text. You need to save your files as plain text which is easily done with the aforementioned editors.

Important Links: Community Guidelines : Use the reputation system if you've been helped.
M-F Blog :: Write for the blog :: M-F IRC Channel - Chats every Sunday at 8PM EST.
QUOTE Thanks
Sub-Zer0

 
Member Since: Jan 31, 2009
Posts: 49
Sub-Zer0 can only hope to improve

Sub-Zer0 is offline
So when I get one of the above save as.... plain text? thanks.
QUOTE Thanks
miles01110

 
Member Since: Mar 11, 2009
Posts: 469
miles01110 will become famous soon enough

miles01110 is offline
Usually there's an option to use UTF-8 encoding or something like that.
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Ottawa
Posts: 15,452
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is offline
Yes, you need to save your scripts as plain text. If you use an editor for programming, this will be the default.
QUOTE Thanks
Dysfunction

 
Dysfunction's Avatar
 
Member Since: Mar 17, 2008
Location: Tucson, AZ
Posts: 6,588
Dysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant future
Mac Specs: 2008 and 2011 15" mbps, late 11 iMac, iPhone 4s, and too many ipods and other stuff

Dysfunction is online now
vi is also installed by default

Course, it's not as visual as it's name would suggest.

mike
This machine kills fascists
Got # ? phear the command line!
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Ottawa
Posts: 15,452
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is offline
Quote:
Originally Posted by Dysfunction View Post
vi is also installed by default

Course, it's not as visual as it's name would suggest.
So is emacs but we shouldn't be frustrating him anymore than he already is .

Important Links: Community Guidelines : Use the reputation system if you've been helped.
M-F Blog :: Write for the blog :: M-F IRC Channel - Chats every Sunday at 8PM EST.
QUOTE Thanks
miles01110

 
Member Since: Mar 11, 2009
Posts: 469
miles01110 will become famous soon enough

miles01110 is offline
So are less, more, nano, vim, and pico....aren't they?
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Ottawa
Posts: 15,452
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is offline
nano/pico are pretty straightforward as all the shortcuts are listed at the bottom of the screen. less/more just show the contents of a file.

Important Links: Community Guidelines : Use the reputation system if you've been helped.
M-F Blog :: Write for the blog :: M-F IRC Channel - Chats every Sunday at 8PM EST.
QUOTE Thanks

Post Reply New Thread Subscribe


« my sons is trying to guess my password... so he can add mor time | Clean install problem »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Can't save anything to external... winegirl27 Other Hardware and Peripherals 5 12-03-2008 07:08 AM
Can't choose which folder to save in gobiwaq OS X - Operating System 4 05-07-2007 09:10 PM
HELP!!! Why the heck cant I save the pics on this website?! MacNewbie OS X - Operating System 6 03-03-2007 03:44 AM
Pages crashed - how to set up auto save? rcronin OS X - Apps and Games 0 02-07-2007 07:55 PM
How to save pictures Dark Matter OS X - Operating System 3 03-17-2005 01:54 AM

All times are GMT -4. The time now is 08:22 PM.

Powered by vBulletin
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?