At 12:08 PM -0500 4/17/02, Tom Carr wrote:
>I wrote a simple perl script on macOS9.2 and want to move to an OSX box.
>When I run it on the OSX box, my path syntax is not working. Is the path
>syntax for OSX different than OS9?
>
>my $files_to_move = ':In'; #top level folder for search
>
>In this line, ":In" does not resolve. The "In" directory is in the same
>directory as the perl script.

In OS X, Perl is uses the UNIX path separator, '/', instead of Mac's ':'.

Also, paths are UNIX-style. If you use BBEdit, open the script or 
file in question, and get the path from the toolbar button. That'll 
give you an example to follow.

HTH

1;
-- 

   - Bruce

__bruce_van_allen__santa_cruz_ca__

Reply via email to