You delimit your regular expression using /, but the replacement part also contains a /. That's unfortunate. Use a different separator for the regular expression, for example !:
$video =~ s!... !... !xeg;
In reply to Re^5: Grabbing url from iframe
by Corion
in thread Grabbing url from iframe
by htmanning
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |