Re: difference between use Carp and use Carp qw(cluck)

2003-06-16 Thread Jenda Krynicky
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 cl

difference between use Carp and use Carp qw(cluck)

2003-06-16 Thread Ramprasad
Hi all, What is the diff between use Carp qw(cluck); Carp::cluck("hello"); and use Carp; Carp::Cluck("hello"); I had assumed that when I 'use Carp qw ( cluck )' I will be able to use only the cluck function of Carp but when I tried it out I found it was not so. Then where does the differenc