in reply to Re^2: parse array to replace specific spaces with pipes
in thread parse array to replace specific spaces with pipes
You can use next to skip the rest of an iteration in a loop:
while( ... ) { ... next if <something>; ... }
The <something> is treated as an expression. Expressions can be $variable =~ /<regex>/ or just a single variable, which evaluates to false if undef, 0 or ''.
|
|---|