Re: Test string conversion syntax

2005-12-05 Thread DZ-Jay
#!C:\perl\bin\perl open(TXT, "; close(TXT); print "Content-type:text/html\n\n "; print "Text file contents:"; foreach $line(@text) { print "$line "; } print ""; # This will loop through all the line in the file, # substitute commas with pipes on each line, # and print the line to STDOUT. ope

Re: Test string conversion syntax

2005-12-04 Thread $Bill Luebkert
Donald Beck wrote: > I am running Perl on Windows XP Pro. I am new to > Perl. > > I am trying to write a script that will take a text > file with multiple rows and a reoccurring character > that I want replaced, then the output written to > another text file. > > Here is what I have come up wit

Test string conversion syntax

2005-12-04 Thread Donald Beck
I am running Perl on Windows XP Pro. I am new to Perl. I am trying to write a script that will take a text file with multiple rows and a reoccurring character that I want replaced, then the output written to another text file. Here is what I have come up with (actually I got it out of a book):