You can split up the records and grep out the celery: $scalar = join '::', grep { ! /celery/ } split /::/, $scalar;
After Compline,
Zaxo
In reply to Re: Removing a Pattern matched in a Scalar
by Zaxo
in thread Removing a Pattern matched in a Scalar
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |