Hi, I'm learning perl ...
Problem: concatenation not done right. Please help me out.
Objective: user enters target file and number of iterations to shred a file
print "enter target: ";
$target = <STDIN>;
print "enter iterations: ";
$i = <STDIN>;
system("shred -fuvxz -n".$i." ".$target);
shred: missing file argument
Try `shred --help' for more information.
when executed without the iterations part ...that's why I think it's a concatenation problem...I just don't know better.
system ("time shred -fuvxz -n25 ".$target);
thanks in advance,