in reply to
Take a look at the documentation for Net::RawIP on CPAN. The documentation provides you with a finite example and concrete information on the modules exported constants & functions, constructor, and methods. It is an excellent starting point.
I am certainly not discouraging asking for help, but, always check CPAN for docs on a module before giving up and crying uncle with a blind question. It is a great module info source and will help you fuel real questions for the future!