[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] Minor interface problem in MacPERL



Hello everyone,

I'm currently developing some rather straightforward scripts to run on a
UNIX-box and I used MacPERL and UNIX-PERL alternatingly - basically I used
whichever machine was free at any given time. Since MacPERL gave me warning
messages with the -w switch in the shebang line, i.e. my scripts started
with
	#!perl -w
I did the same with debug, replacing -w with -d and hoped for the best.
Sure enough, under UNIX it worked as expected, and in MacPERL, too, I got
the debugger screen. Unfortunately, though, I could not get commands like l
or w to work in the MacPERL debugger, nor were the individual lines of my
program displayed in stepwise execution. I re-installed the latest version
of MacPERL, deleted the Prefs file, rooted around for additional libraries
and messed with the @INC settings until I finally decided to also set the
debug option in MacPERL's menu and that did it. Debugging as expected with
all debugger commands available AND working.

To summarize:
#!perl -w 		works as expected BOTH under UNIX PERL and in MacPERL
#!perl -d 		works under UNIX PERL, but works only partially
under MacPERL

Is this an intentional inconsistency, was it unavoidable or did I miss
anything?

Curious,
HSK

.---------------------------------------------------------------~-_-~----.
| Holger Skok                                                            |
| Institut fuer Thermodynamik und Waermetechnik   Universitaet Stuttgart |

| phone:  ++(49)-711-685-3230                     Pfaffenwaldring  6     |
| fax:    ++(49)-711-685-3503                     D-70550 Stuttgart      |
|                                                 Germany                |
| e-mail: skok@itw.uni-stuttgart.de                                      |
'---------------------------------------------------------------_-~-_----'



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch