;It is used as a separator of instructions, so placing a few ;at the end of an instruction is excellent, because it simply adds empty statements.
I came across this code, which has several ;at the end, but deleting them, causing errors:
$line =~s;[.,]$;;;
should be the same as
$line =~s;[.,;]$;
but this is not so. What's happening?
source
share