Re: What's wrong with this?

2002-07-01 Thread Andy Lester
rp the entire file into one variable, just tell Perl not to stop at the end of each line. local $/ = undef; open( TEXT, "text.txt" ) or die; my $text = ; close( TEXT ); print $text; -- 'Andy Lester[EMAIL PROTECTED] Programmer/author petdance.com Daddy parsley.o

Re: What's wrong with this?

2002-07-01 Thread Andy Lester
>Try to use(UpperCase): > open(TEXT,"text.txt") > while() Also, if you're using Perl >= 5.6.0, use the $fh notation and get around the barewords entirely. open( my $fh, "text.txt" ) or die $!; while ( <$fh> ) {

Re: the /?something=somethingelse

2002-07-01 Thread Andy Lester
index.html (or whatever else is specified in the DirectoryIndex directive). xoxo, Andy -- 'Andy Lester[EMAIL PROTECTED] Programmer/author petdance.com Daddy parsley.org/quinn Jk'=~/.+/s;print((split//,$&) [unpack'C*',&q