in reply to Removing a Pattern matched in a Scalar
You can split up the records and grep out the celery: $scalar = join '::', grep { ! /celery/ } split /::/, $scalar;
After Compline,Zaxo