Talk About Network

Google





Mac > Perl on OSX > Re: MacPerl Scr...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 4 Topic 1044 of 1079
Post > Topic >>

Re: MacPerl Script on OS X

by nospam@[EMAIL PROTECTED] (Eberhard Lisse) Aug 23, 2008 at 08:43 AM

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@[EMAIL PROTECTED]
>
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
 




 4 Posts in Topic:
Re: MacPerl Script on OS X
daggerquill@[EMAIL PROTEC  2008-02-29 12:15:30 
Re: MacPerl Script on OS X
nospam@[EMAIL PROTECTED]   2008-08-23 08:43:17 
Re: MacPerl Script on OS X
douglist@[EMAIL PROTECTED  2008-08-23 10:33:50 
Re: MacPerl Script on OS X
nospam@[EMAIL PROTECTED]   2008-08-28 06:52:09 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Fri Jan 9 13:37:54 PST 2009.