SCOUG-Programming Mailing List Archives
Return to [ 25 |
April |
1999 ]
>> Next Message >>
Content Type: text/plain
> > ... You _did_ notice that the slashes (above) are
> > forward, not backward, yes? EMX doesn't care, but
> > OS/2 does. :)
Dallas Legan wrote:
>
> OS/2 or CMD.EXE?
> As I understand things, the forward slashes and path
> and fully qualified file name were generated in
> perl5.exe, or maybe ksh.exe somehow. The installation
> notes for the interpreter specificly show to use
> forward slashes for the PERL5LIB variable.
I didn't realize you'd changed the command interpreter. Don't think
that makes any difference, though.
I need to back up a little so I understand what you're doing.
-- Is this the Hobbes "PERL" posted Jan99? I downloaded it yesterday
and unzipped it, but the documentation files weren't quickly obvious so
I didn't go further. I'll dump the whole directory if this _isn't_ what
you're using. :)
-- Is this a port? (The docs may not have been fully "ported".) If
so, is it running on EMX?
-- Is PERL5.EXE the interpreter that you run to execute your PERL
script?
-- Is the PERL5LIB variable an environment variable (set in CONFIG.SYS
or a startup .cmd file)? If so, did you try changing all "/" to "\" to
see what would happen? When a program issues a file command that
includes a path (which may include "\"), the call doesn't go through
CMD.EXE so you can't rely on the command interpreter to do any /-to-\
conversion. (EMX will do such conversions, but it's not a command
interpreter. I've found that EMX allows both / and \.)
I've always wanted to learn PERL so this is intriguing. As Indiana
Jones' buddy said, "you go first". :))
- Peter Skye
=====================================================
To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-programming".
For problems, contact the list owner at
"rollin@scoug.com".
=====================================================
>> Next Message >>
Return to [ 25 |
April |
1999 ]
The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA
Copyright 2001 the Southern California OS/2 User Group. ALL RIGHTS
RESERVED.
SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International
Business Machines Corporation.
All other trademarks remain the property of their respective owners.
|