- publishing free software manuals
Perl Language Reference Manual
by Larry Wall and others
Paperback (6"x9"), 724 pages
ISBN 9781906966027
RRP £29.95 ($39.95)

Sales of this book support The Perl Foundation! Get a printed copy>>>

Switch (?(condition)... contains too many branches in regex; marked by <-- HERE in m/%s/

(F) A (?(condition)if-clause|else-clause) construct can have at most two branches (the if-clause and the else-clause). If you want one or both to contain alternation, such as using this|that|other, enclose it in clustering parentheses:


The <-- HERE shows in the regular expression about where the problem was discovered. See 11.

ISBN 9781906966027Perl Language Reference ManualSee the print edition