in reply to CGI various network tools - Appraisal

2>&1

Sends stderr output (file descriptor 2) to stdout (file descriptor 1)

See also:  man bash

$tainted = ${$_[0]} . '.' . ${$_[1]} . ...

you could use  join('.', @$_) (not tested)

Replies are listed 'Best First'.
Re: Re: CGI various network tools - Appraisal
by DamnDirtyApe (Curate) on Aug 21, 2002 at 18:52 UTC

    You're join statement gives me an error, but this works:

    $tainted = join '.', map {$$_ } @_ ;

    But then again, why pass references here in the first place?


    _______________
    DamnDirtyApe
    Those who know that they are profound strive for clarity. Those who
    would like to seem profound to the crowd strive for obscurity.
                --Friedrich Nietzsche