ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> pdk
pdk
RE: English.pm, pdk 7.1 and perl 5.10
by Jan Dubois other posts by this author
Mar 27 2008 3:33PM messages near this date
English.pm, pdk 7.1 and perl 5.10 | The woes of auto-vivification exacerbated by the debugger...
Hello Ekkehard,

 

This is indeed a new module in Perl 5.10 that will be implicitly loaded by certain features 
of the regex engine, so it should always
be bundled with Perl 5.10 applications. You literally reported this just a few hours before 
the cutoff for the final builds of PDK
7.2, but I managed to still sneak it in (should be released next week assuming no more bugs 
show up in testing).

 

Using the "-add Tie::Hash::NamedCapture" option is the correct workaround.

 

Cheers,

-Jan

 

From: pdk-bounces@[...].com [mailto:pdk-bounces@[...].com] On Behalf Of ekkehard.goerlach@[.
..].com
Sent: March 27, 2008 11:41 AM
To: pdk@[...].com
Subject: English.pm, pdk 7.1 and perl 5.10

 


Hi, 

today I run into a small problem if I include the English module in a perl (5.10 build 1002)
 script, e.g just this one-liner: 

use English; 

This script runs fine on a cmd prompt with 

perl test.pl 

but if I compile it with pdk 7.1 and run the executable it I receive the error that Tie::Has
h::NamedCapture can not be found. An
additional "use" of that module or an explicit --add Tie::Hash::NamedCapture solves the prob
lem. 

This error does not show up if I use perl 5.8 (build 820) with pdk 7.1. It seems to me that 
the Tie::Hash::NamedCapture is sth new
in 5.10 compared to 5.8. 

I reinstalled perl and the pdk but the issue remained. Any help is welcome. 

Thanks, 
Ekkehard 


_________________________

CONFIDENTIALITY NOTICE

The information contained in this e-mail message is intended only for the exclusive use of t
he individual or entity named above and
may contain information that is privileged, confidential or exempt from disclosure under app
licable law. If the reader of this
message is not the intended recipient, or the employee or agent responsible for delivery of 
the message to the intended recipient,
you are hereby notified that any dissemination, distribution or copying of this communicatio
n is strictly prohibited. If you have
received this communication in error, please notify the sender immediately by e-mail and del
ete the material from any computer.
Thank you.
Thread:
Ekkehard Goerlach
Jan Dubois

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved