Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

portability / system / elegance

by skendric (Novice)
on Dec 04, 2016 at 13:19 UTC ( #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? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2022-05-29 09:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (101 votes). Check out past polls.

    Notices?