what's the meaning qw in perl

Using the Perl qw() function
use File::Temp qw(tempfile tempdir);

This code fragment has the effect of importing the tempfile and tempdir functions from the File::Temp module.
It does this by providing the list ‘tempfile’, ‘tempdir’ to the use function.

http://perlmeme.org/howtos/perlfunc/qw_function.html

发布了420 篇原创文章 · 获赞 29 · 访问量 94万+

猜你喜欢

转载自blog.csdn.net/lantianjialiang/article/details/103156771
今日推荐