S
Sherm Pendley
Vikrant said:sub Configure($ddd)
{
print"$ddd";
}
$ddd is not doing what you think it's doing. Subroutine prototypes in Perl
are used very rarely, and even then only declare types, not names. Arguments
are always passed in @_.
With that in mind:
# Unrelated parts of sample1.pm omitted...
our @EXPORT=qw(Configure);
sub Configure {
my $ddd = shift;
print $ddd;
}
Have a look at:
perldoc perlsub
perldoc -q always
sherm--