develooper Front page | perl.perl5.porters | Postings from August 2001

`` instead of system() in tests?

Thread Next
Philip Newton
August 12, 2001 09:34
`` instead of system() in tests?
Message ID:
Hi, in a recent patch to t/io/fs.t, I noticed a command being run with 
`` even though its output was discarded. After taking a look through 
the file, I saw this usage multiple times. (For example, `mkdir tmp` or 
`echo helloworld > Iofs.tmp` or `set file tmp.dir/protection=o:d`.) I 
think this sort of thing crops up in other test files as well.

Is there a reason those can't just be replaced with system()? It 
appears to be rather odd usage to me.

Philip Newton <>

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About