in reply to Re: Help with Snort and File::Tail
in thread Help with Snort and File::Tail

And this might be a really stupid question but what is the \ in process_alert(\@alert)? Is that how you pass in a parameter in Perl? (Sorry, total novice).

Replies are listed 'Best First'.
Re^3: Help with Snort and File::Tail
by ikegami (Patriarch) on Jun 23, 2011 at 07:11 UTC

    \@alert creates a reference to the array @alert, and the reference is indeed being passed as an argument to a to-be-provided sub process_alert.