Re: Net::RawIP module

2002-08-28 Thread drieux
On Wednesday, August 28, 2002, at 03:49 , Bridget Benson wrote: > I am having trouble using the Net::RawIP::dump function. > > I keep getting the error Bad filehandle for line 4 in this code. > What is wrong with $fh? > > $p = open_offline($filename); > $fh = dump_open($p, "file"); > $packet = n

Net::RawIP module

2002-08-28 Thread Bridget Benson
I am having trouble using the Net::RawIP::dump function. I keep getting the error Bad filehandle for line 4 in this code. What is wrong with $fh? $p = open_offline($filename); $fh = dump_open($p, "file"); $packet = next($p, \%hdr); dump($fh, \%hdr, $packet); I understand this may not be a begi