http://www.perlmonks.org?node_id=1021769


in reply to Re^2: newbie need help with a simple code
in thread newbie need help with a simple code

... I did not understand what the pipeline does ...

The  | (pipe) character merely serves as a visual demarcation in the code example to allow the result of the operations to be better seen. Same thing as
    $selected = $1 . " | " . $2 . " | " . $3 . " | " . $4. " | " . $5;
here.