develooper Front page | perl.perl5.porters | Postings from October 2011

Re: [perl #102064] [PATCH] Fix use inaccuracy in perlmod.pm

Thread Previous | Thread Next
From:
Eric Brine
Date:
October 30, 2011 03:18
Subject:
Re: [perl #102064] [PATCH] Fix use inaccuracy in perlmod.pm
Message ID:
CALJW-qFhKAXD1gyjpcd3yc+T1N3KAgOPeAdBx=ai_OTG3BcmDQ@mail.gmail.com
On Sat, Oct 29, 2011 at 6:27 AM, Dr.Ruud <rvtol+usenet@isolution.nl> wrote:

> Not 'exactly equivalent':
>

*Your* code isn't, but your code is different than the code in the patch.
You took out the BEGIN block. Add it back in and the warning goes away.

>perl -we"use DBI; DBI::->import;"

>perl -we"BEGIN { require 'DBI.pm'; 'DBI'->import; } DBI::->import;"

>


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About