Giedrius D wrote:
Anyway my main question was: is there any reason not to use
keyword "use"?
The only reason for me is that "use" implies some kind of autoloading,
as I suggested in one of my other mails.
H'mm, that's interesting. As I think I've said before, for me "use" implies using something that's already sitting around waiting to be used, whereas "import" suggests an actual "go fetch" action, such as include/autoload (and then using the result). I think I'd be slightly confused by a "use" that does an autoload and an "import" that doesn't. ;)
Cheers!
Mike
Mike Ford, Electronic Information Services Adviser,
JG125, The Headingley Library, James Graham Building,
Headingley Campus, Beckett Park, LEEDS, LS6 3QS
United Kingdom
Tel: +44 113 812 4730 Fax: +44 113 812 3211
To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The only reason for me is that "use" implies some kind of autoloading,
as I suggested in one of my other mails.H'mm, that's interesting. As I think I've said before, for me "use" implies
using something that's already sitting around waiting to be used, whereas
"import" suggests an actual "go fetch" action, such as include/autoload
(and then using the result). I think I'd be slightly confused by a "use"
that does an autoload and an "import" that doesn't. ;)Cheers!
Mike
The "feel" of the words is probably influenced by your background. If you know
Perl, you'll say use implies autoloading, if you know Python, you'll say
import implies autoloading.
Regards,
Stefan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHIISVpPjfcppEficRArY0AJoDb6n7SmSLeSzp/nMMmzqfo3fdtwCdEdR6
5zLnW+EmKaAVlr1asYoHFbo=
=yzD3
-----END PGP SIGNATURE