[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] # Use of uninitialized value. huh??



On Tue, Feb 01, 2000 at 08:59:28PM +0100, Martin D. wrote:

> foreach my $link (@links) {

Try putting the line

warn "|$link|\n";

right here.  I suspect this might reveal the problem.


>     $article = get($link);                       #unhapppy lines

Why no error checking on the result of get()??


>     $article =~ s/\012/\n/gs;                    #line 52
>     $len = length $article;                      #line 53
>     print RNEWS "#! rnews ".$len."\n".$article;  #line 54
> 
> }
> 

Ronald

# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org