Hi list,
Does anyone know how to print out a text file to a
printer? i would like the option of chosing a printer
to send the document to, in addition, will I need to
reformat the text, or will it print out the text file
as is?
Thanx
Ben
__
Do
Ben Crane wrote:
Hi list,
Does anyone know how to print out a text file to a
printer? i would like the option of chosing a printer
to send the document to, in addition, will I need to
reformat the text, or will it print out the text file
as is?
Have searched in search.cpan.org for
Hi group!
Ok, I'm trying to open all files in the directory containing my script, and
search each one for lines containing my search string. This is my code so
far:
$i = 0;
opendir(logdir, '.') or die Can't open directory.;
print Enter string to search for: ;
$searchstring = ;
print \n;
#print
while(logfile)
{
#if(#line I'm currently on is m/$searchstring/i)
{
print;
}
Now the problem is, how do I specify The line I'm currently working
on?
That's easy -- you don't.
When you said:
print;
you didn't specify what to
Ok, I think I understand you, but things still are not working right.
Never mind, I forgot to chop my search string. Works great now :)
TDH (That DID help) lol.