> -Original Message-
> From: Martin Pestun [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 24, 2002 8:54 AM
> To: [EMAIL PROTECTED]
> Subject: text problem
>
>
> Hi everybody
>
> I've got text file on the local machine and Apache too.
>
> What I don't know is how can I display this fil
Martin,
Well, you can use a simple html tag called pre.
---
open(FILE, ";
close(FILE);
print qq^
$contents_of_file
^;
---
Is that what you are looking for or do you want to actually split up the data into
i
Hi,
Multiple ways of doing this :
#!/usr/bin/perl
use strict;
my $logfile = "...";
open(FH, "<$file");
my @contents = ;
close ();
print " @contents ";
# -
or
print "USERPIDPPID .. ";
foreach $line(@contents) {
##
$line =~ s/\s+//g;
print " $line ";