From: Ramprasad <[EMAIL PROTECTED]>
>     What is the diff between
> 
> use Carp qw(cluck);
> Carp::cluck("hello");
> 
> and
> 
> use Carp;
> Carp::Cluck("hello");
 
The difference is that in the first case the cluck() is imported into 
the current package/namespace so you may write just
        cluck("hello");
while in the second case the module exports its default set of 
symbols. What is the default list depends on the module, but quite 
often modules do not export anything in that case.

Jenda
===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed 
to get drunk and croon as much as they like.
        -- Terry Pratchett in Sourcery


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to