Basically my script contains one very long command to start an application , the problem is it is generating a warning and i dont want that warning to be displayed how do i redirect the o/p of the command to a file and not to the screen so the user wont see it?
Im trying to produce results like
Line from fileA
Line from fileB
Line from fileA
Line from fileB etc
I have code like this
while(<fileA>)
{
print line
open fileB
while(<fileB>)
{
some processing
print line from fileB
}
close(fileB);
}
close(fileA);
Im using $_ to access a line...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.