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

Re: [MacPerl] Oneliner problems?



>I'm having trouble with OneLiner not displaying the dialog when selecting
>the OneLiner menu item. It only comes up with debuging turned on. Is this
>problem known?
>

The dialog displays for me but when I type in a command and click "OK" it
doesn't work.

I typed in:
  print "It works";
but it didn't.


I looked at the MacPerl script "One Liner/1" which is in the "MacPerl
Scripts" folder and can't quite figure out what's happening. Maybe I
misunderstand what "One Liner" is supposed to do. I spent a few minutes
searching through some "Read Me" files and Shuck and couldn't find any info
on it.

As a work around I created the following simple script and saved it in the
"MacPerl Scripts" folder as "Command Line". This makes "Command Line"
appear as a menu item in Macperl's "Script" menu.

David Seay

----------------

$input=&MacPerl::Ask("Enter a MacPerl command to execute...", $default);
eval($input);




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