tokuhirom / Minilla

Authorizing tool for CPAN modules
https://metacpan.org/release/Minilla
Other
97 stars 65 forks source link

Delete system() function call #190

Closed sago35 closed 8 years ago

sago35 commented 8 years ago

Delete system() function call. Some operating system don't have 'cat' cmd.

Only fix warning.

Before. (windows 10 and strawberry perl 5.22.1.3 / 64bit)

$ prove -lc t\dist.t
t\dist.t .. 'cat' is not recognized as an internal or external command,
operable program or batch file.
t\dist.t .. ok
All tests successful.
Files=1, Tests=1,  4 wallclock secs ( 0.03 usr +  0.00 sys =  0.03 CPU)
Result: PASS

After.

$ prove -lc t\dist.t
t\dist.t .. ok
All tests successful.
Files=1, Tests=1,  5 wallclock secs ( 0.03 usr +  0.02 sys =  0.05 CPU)
Result: PASS