Subject: | SYNOPSIS example is incorrect |
So great to find this module! I almost uploaded a similar one a few weeks ago but couldn't settle on a name space, got distracted, then I found your nice new one so I'll just send pull requests if you're willing?
Back to this rt: the if in the SYNOPSIS example needs negated :)
- say "Running under terminal" if detect_web();
+ say "Running under terminal" if !detect_web();
multivac:~ dmuey$ perl -mWeb::Detect -E 'say "Running under terminal" if !Web::Detect::detect_web();'
Running under terminal
multivac:~ dmuey$
thanks!