in reply to Re: A weird problem while executing nmap and fetching its output
in thread A weird problem while executing nmap and fetching its output

Thanks for your reply!

Well yes, -sU is slow, but on startup nmap prints a version info. Also, to be a bit more perl related, shouldn't while(<F>) read until an EOF?

So I suspect that the command doesn't execute at all, even though it is syntactically correct (if I print out the command and paste it to the commandline, everything works perfectly).

Is the whole open a command as a filehandle syntactic sugar for fork/pipe/execute so i can debug from there?

  • Comment on Re^2: A weird problem while executing nmap and fetching its output
  • Download Code

Replies are listed 'Best First'.
Re^3: A weird problem while executing nmap and fetching its output
by LanX (Saint) on Apr 11, 2013 at 13:27 UTC
    > Is the whole open a command as a filehandle syntactic sugar for forkpipeexecute so i can debug from there?

    Well, like documented in open

    Cheers Rolf

    ( addicted to the Perl Programming Language)