Home  |  Linux  | Mysql  | PHP  | XML
From:Eberhard Lisse Date:Sat Aug 23 01:43:17 2008
Subject: Re: MacPerl Script on OS X
Ben,

on 2/29/08 7:15 PM Jay Savage said the following:
> On Thu, Feb 28, 2008 at 7:13 PM, Ben Crane <bcrane@tradecards.com> wrote:

>> Thanks for your response copied below. I really don't want to go to Perl 5.x
>> and all that newfangled stuff.

This can only be described as really shortsighted. Not only because this
is the very issue you are having :-)-O

>> Here's my code ending with the offending line 7 according to my BBEdit error
>> msg also copied below. I think the problem must be something simple. BBEdit
>> says the syntax is OK, and it does run OK under Classic. I've tried
>> different path name conventions, ( / instead of : ) but that doesn't seem to
>> help. All files have 777 permissions.

>>  7 open ("trans", "g5hd:newScansImages:trans") or die "Error, can't open";

Assuming read only:

open (TRANS, "</Volumes/g5hd/newScansImages/trans")
     or die "Error can't open $!\n";

or

open (TRANS, "</newScansImages/trans")
      or die "Error, can't open /newScansImages/trans, $!\n";

greetings, el
-- 
If you want to email me, replace nospam with el

Navigate in group perl.macosx at sever nntp.perl.org
Previous Next




  
© No Copyright
You are free to use Anything
Site Maintained by PHP Developer
Powered By PHP Consultants