in reply to Re: Re: use constant and exporter
in thread use constant and exporter

use MyPackage qw(:all); use Data::Dumper; use strict; use warnings; print STDOUT MyPackage::VALID;

Untested.

John J Reiser
newrisedesigns.com

Replies are listed 'Best First'.
Re: Re^3: (nrd) use constant and exporter
by Flame (Deacon) on Jan 28, 2003 at 05:24 UTC
    Well that does work, but I was hopeing to actually be able to export it...



    My code doesn't have bugs, it just develops random features.

    Flame ~ Lead Programmer: GMS (DOWN) | GMS (DOWN)