On Feb 6, 2008 5:38 AM,  <[EMAIL PROTECTED]> wrote:

> I have a query of how to call Tomahawk in perl. Tomahawk is a tool
> used in
> Linux for verifying NIPS. I need to get the Tomahawks attribute from
> the user and pass it to tomahawk tool. If anyone has any idea about
> how to call the Tomahawk tool within perl script..kindly reply.

You can run another program in many ways from Perl. You might want system().

    my $result = system 'tomahawk',
        '-f', $packet_trace_file_name;  # or whatever

Did I guess correctly that you want to run another program from Perl?
If not, perhaps you should explain in more detail what you want to do.

Hope this helps!

--Tom Phoenix
Stonehenge Perl Training

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to