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
One simple thing you might want to start doing is including the filename in your error message. Quite often this message means that either you're not in the starting directory you think you're in or part of your filename is being interpreted as something other than what you intended. m