[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
Re: [perl #59950] Core on syntax error!
On Fri, Oct 17, 2008 at 01:28:06AM -0700, Nick Kostirya wrote:
> I do syntax error and get CORE.
> Syntax error is "use Data::Dumper:".
This is fixed in perl 5.10.0
> > cat Dispatch.pm
> package Dispatch;
>
> sub import {
> foreach (<Foo/D/UserTags.pm>) {
> eval { require "$_" };
> }
> }
>
> 1;
> > cat Foo/D/UserTags.pm
> package Foo::D::UserTags;
>
>
> sub get_tags {
> my ($id_user, $tag_scope) = @_;
> if ($id_user) {
> use Data::Dumper:
> }
> }
>
>
> 1;
> > perl -w -MDispatch -e 1
> Ошибка сегментации(core dumped)
--
Technology is dominated by two types of people: those who understand what
they do not manage, and those who manage what they do not understand.
- References to:
-
Nick Kostirya (via RT) <perlbug-followup@perl.org>
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]