Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

portability / system / elegance

by skendric (Novice)
on Dec 04, 2016 at 13:19 UTC ( [id://1177153]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use File::Which qw(which);
    $tshark_binary = which('tshark');
    $tshark_binary =~ s/\\/\\\\/g if $tshark_binary =~ /\\/;
    
  2. or download this
    system("\"$tshark_binary\" -r $pcap -e frame.number -e  frame.time_epo
    +ch -e ip.src -e ip.id -T text -T fields -E separator=, > $temp_file")
    +;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1177153]
Approved by BrowserUk
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2024-03-28 21:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found