One remark: setting $/="" (paragraph mode) avoids the two step reading of the file:
my @original = do { $/ = ""; <DATA>; };
In reply to Re^2: To remove duplicates inside a string
by hdb
in thread To remove duplicates inside a string
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |