Skip Navigational Links
LISTSERV email list manager
LISTSERV - LISTSERV.MIAMIOH.EDU
LISTSERV Menu
Log In
Log In
LISTSERV 17.5 Help - MU-VMS Archives
LISTSERV Archives
LISTSERV Archives
Search Archives
Search Archives
Register
Register
Log In
Log In

MU-VMS Archives

September 1996

MU-VMS@LISTSERV.MIAMIOH.EDU

Menu
LISTSERV Archives LISTSERV Archives
MU-VMS Home MU-VMS Home
MU-VMS September 1996

Log In Log In
Register Register

Subscribe or Unsubscribe Subscribe or Unsubscribe

Search Archives Search Archives
Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
Re: perl & [...]
From:
Kent Covert <[log in to unmask]>
Reply To:
Miami University OpenVMS <[log in to unmask]>
Date:
Thu, 19 Sep 1996 08:23:20 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (23 lines)
In article <[log in to unmask]>, [log in to unmask]
u (Micah James Cooper) writes:
> How do you open files in another directory using perl on the VAX?
> ie:  It didn't seem to like open(FILE, "[hon.muhonors.www]prepend.txt")
> much, or is this correct and something else was wrong?
 
This should work just fine.  Try something like:
 
  open(FILE, "[hon.muhonors.www]prepend.txt") || die "Error opening file: $!";
 
This will print the actual error message (it's stored in $!) for the error
you're getting.  This may help determine the problem.
 
Perl on VMS should also accept something like this:
 
  open(FILE, "/sys_users/hon/muhonors/www/prepend.txt");
 
--
                                     Kent Covert, Software Coordinator
                                     Miami Computing and Information Services
                                     Miami University, Oxford, OH
                                     [log in to unmask]

ATOM RSS1 RSS2

LISTSERV.MIAMIOH.EDU CataList Email List Search Powered by LISTSERV