Hi All,

Question for you people:
I have got a 2 files like these: one if a perl module, and the other is a
script using require to include the file.
Q: why pt is not defined in Myscript.pl file, although I used the required
? 
Thanks
Chanan

common_pdf.pm

=======================
use constant pt => 1;
1;

Myscript.pl
========================
require "common_pdf.pm";

my $lv_num = pt;
print $lv_num;

_______________________________________________
Perl mailing list
[email protected]
http://mail.perl.org.il/mailman/listinfo/perl

Reply via email to