in reply to Perl array reference error
That means that $self->{'netstat_array'} is sometimes undef. The first questions I'd ask myself are: why is it undef, and is undef a valid value for that variable? A quick workaround might be to write @{ $self->{'netstat_array'} // [] }, but that won't solve the root of the issue. For more help please read and follow How do I post a question effectively?
|
|---|