From: "Dr.Ruud" <rvtol+use...@isolution.nl>

On 2014-03-30 12:26, Octavian Rasnita wrote:

But I also want that module to export strict and warnings.

http://search.cpan.org/perldoc?Modern%3A%3APerl

--
Ruud


Thanks. I know about it but it is not helpful.


I want to use in my scripts just:

use MyModule;

#And here to have strict and warnings turned on
#and to be able to call the exported subroutines:
#sub1();
#sub2();

If I need to also add a "use Modern::Perl;", then it is no helpful because I don't need Modern::Perl's aditional features and I can simply use "use strict; use warnings;".

Octavian


--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to