perl 置換リスト 配列

our @WORDS = (
[$triggerWord,''],
['^.*?id="layout-css|options-css|theme-css|page-css" />','<op> -d'],
['id="script-js"></script>','<op> -d -setStart -JS'],
['</script>','<op> -d -setEnd -JS'],
['id="bind-tag-cleaner-config-js">','<op> -d -setEnd'],
['</script>','<op> -d -setEnd -JS'],
['</script>','<op> -d -setEnd -JS']
);
第12回 2次元配列 - bingo_nakanishiの他言語出身者のためのPerl入門
結果: