Hi,
I can't use perldoc from EPIC, but from command line it works. If I try to use perldoc I get the message "Documentation not available."
My system is MacOSX 10.4.11, EPIC 0.6.20,
Eclipse 3.3.2.R33x_r20071022 including RCP Patch 1 (v20071204) and 2 (v20080102)
I have been using EPIC a total of 1 day.
Some info from a logfile which may be of some use:
!SESSION 2008-02-25 14:27:49.535 -----------------------------------------------
eclipse.buildId=M20071023-1652
java.version=1.5.0_13
java.vendor=Apple Computer, Inc.
BootLoader constants: OS=macosx, ARCH=x86, WS=carbon, NL=en_US
Framework arguments: -keyring /Users/mattheww/.eclipse_keyring -showlocation
Command-line arguments: -os macosx -ws carbon -arch x86 -keyring /Users/mattheww/.eclipse_keyring -consoleLog -showlocation
!ENTRY org.eclipse.ui.workbench 2 0 2008-02-25 14:28:43.891
!MESSAGE A handler conflict occurred. This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2008-02-25 14:28:43.891
!MESSAGE Conflict for 'org.epic.perleditor.commands.clearMarker':
HandlerActivation(commandId=org.epic.perleditor.commands.clearMarker,
handler=ActionDelegateHandlerProxy(null,org.epic.perleditor.actions.DefaultRetargetEditorDelegate),
expression=AndExpression(ViewerContributionExpression(#PerlEditorContext,null,org.eclipse.ui.internal.WorkbenchWindow@9e7782),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@9e7782)),sourcePriority=-2147467264)
HandlerActivation(commandId=org.epic.perleditor.commands.clearMarker,
handler=ActionDelegateHandlerProxy(null,org.epic.perleditor.actions.DefaultRetargetEditorDelegate),
expression=AndExpression(ViewerContributionExpression(#PerlEditorContext,null,org.eclipse.ui.internal.WorkbenchWindow@9e7782),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@9e7782)),sourcePriority=-2147467264)
Logged In: YES
user_id=86907
Originator: NO
What happens if you run this script? This is exactly what EPIC runs to obtain perldoc for 'print':
use Env qw(@PERL5LIB);
splice(@PERL5LIB, 0, 0, @INC);
exec('perldoc -t -f "print"');
Note that it may be an issue with an invalid value of the PATH environment variable when you run Eclipse. I don't know how you set PATH on Mac and whether it differs between command line and an application. In any case 'perldoc' must be available in PATH for this to work.
Fixed in 0.7.1