The following staement in perl throws an error
my $string =qx(ls grep test) ;
…where test is some file name to be searched...
But the following statements doen't through an error
my $string =qx(ls) ;
I am working in unix solaris machine
你是这个意思吗
my $string =qx(ls | grep test) ;
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.