Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: portability / system / elegance

by atcroft (Abbot)
on Dec 04, 2016 at 15:59 UTC ( [id://1177162]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    perl -MFile::Spec -le 'sub tshark_path { my @filename = qw( / usr bin 
    +tshark ); if ( $^O eq q{MSWin32} ) { @filename = ( q{c:}, q{Program F
    +iles}, q{Wireshark}, q{tshark.exe} ); } return @filename; } my @file 
    += tshark_path(); print File::Spec->catfile( @file );'
    
  2. or download this
    # Result under Cygwin
    /usr/bin/tshark
    ...
    
    # Result from linux
    /usr/bin/tshark
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1177162]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2024-04-25 23:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found