Forgive me, this should be like this: open(FILE, "$file"); binmode FILE; undef $/; $data = <FILE>; $count = $data =~ tr/\cJ/\cJ/;
At 09:38 AM 6/23/05 +0100, Eric Vercelletto wrote: >Hi folks, > >although the answer seems simple, I have a strange phenomenon while reading >a text file, where I want to identify each >line by its linenumber -- REMEMBER THE WORLD TRADE CENTER ---=< WTC 911 >=-- "...ne cede males" 00000100 _______________________________________________ Perl-Win32-Users mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
