OSX - Thanks everyone

2003-08-19 Thread Alex Brewer
Dear Perl Mongers

Many thanks for your observant comments. I am happy to prepend ./ to my 
commands, it seems to work. I didn't realise that the current path 
wasn't included by default as it is in NT (= MS-DOS - an operating 
system only as good as it resembles Unix in my opinion).

echo $PATH yields /bin:/sbin:/usr/bin:/usr/sbin so no wonder I 
can't run the commands per se.

I'm using the default OSX shell which is the TCSH, I think.

 What results are you seeing that suggest OSX  Perl behave at all
 strange as far as the standard file streams? Can you provide
 sample code?
No results or code. I assumed that the failure of the program to 
display was the redirection of STDIN, however one reason was the path, 
and the other was a bug in a perl tutorial file which I found using 
'use diagnostics'. So my mistake!

A nasty moment when I saved the default prefs and found that the script 
running in the window was also saved, so terminal windows were closed 
before I could type anything. So no Terminal for a while. However I 
tracked down the terminal prefs file (com.apple.Terminal.plist) and 
removed the string from there.

As for Perl 5.8 I'll wait until I need the new functions. I'll probably 
use the installers when I do. As a beginner that's some way off I 
should think!

You may be interested to know that I am using the 'Data Munging' Book 
by David Cross, a good bit of work by one of your number.

Best wishes to you all

Alex Brewer




Re: OSX - Thanks everyone

2003-08-19 Thread Randal L. Schwartz
 Alex == Alex Brewer [EMAIL PROTECTED] writes:

Alex Dear Perl Mongers
Alex Many thanks for your observant comments. I am happy to prepend ./ to
Alex my commands, it seems to work. I didn't realise that the current path
Alex wasn't included by default as it is in NT (= MS-DOS - an operating
Alex system only as good as it resembles Unix in my opinion).

In the Old Days of Unix, dot was in path, and people figured out how
to exploit that, so no person who is seriously concerned about
security includes it any more.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
[EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!