Re: No Such File Error on Simple Scrape

2006-05-22 Thread Dr.Ruud
[EMAIL PROTECTED] schreef: > my $output_dir = "c:/training/bc"; > [...] > open OUT, ">output_dir/simple2.html" or die "Can't open file: $!"; ^ Maybe you meant $output_dir? ^ -- Affijn, Ruud "Gewoon is een tijger." -- To unsubscribe, e-mail: [EMAIL PROTECTED] F

Re: No Such File Error on Simple Scrape

2006-05-22 Thread John W. Krahn
[EMAIL PROTECTED] wrote: > When I execute the script below, I get the error message "No such file > or directory at simple2.pl line 21." Line 21 is the Open OUT > statement. This script parallels a tutorial script that does work and > I don't see the error. It does print to the screen if I co

Re: No Such File Error on Simple Scrape

2006-05-22 Thread kc68
On Mon, 22 May 2006 18:00:25 -0400, Jaime Murillo <[EMAIL PROTECTED]> wrote: On Monday 22 May 2006 14:49, [EMAIL PROTECTED] wrote: When I execute the script below, I get the error message "No such file or directory at simple2.pl line 21." Line 21 is the Open OUT statement. This script para

Re: No Such File Error on Simple Scrape

2006-05-22 Thread Jaime Murillo
On Monday 22 May 2006 14:49, [EMAIL PROTECTED] wrote: > When I execute the script below, I get the error message "No such file or > directory at simple2.pl line 21." Line 21 is the Open OUT statement. > This script parallels a tutorial script that does work and I don't see the > error. It does pr

RE: No Such File Error on Simple Scrape

2006-05-22 Thread Timothy Johnson
u intended. my $file = "output_dir/simple2.html"; open OUT,">$file" or die "Can't open '$file' for writing: $!"; -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, May 22, 2006 2:50 PM To: beginners@per

No Such File Error on Simple Scrape

2006-05-22 Thread kc68
When I execute the script below, I get the error message "No such file or directory at simple2.pl line 21." Line 21 is the Open OUT statement. This script parallels a tutorial script that does work and I don't see the error. It does print to the screen if I comment out the Open OUT line.