Error Evaluating Embedded Perl Source

syntax error at (eval 16) line 15, near "jpg link" (Might be a runaway multi-line // string starting on line 4) Unmatched right curly bracket at (eval 16) line 15, at end of line No such class favourite at (eval 16) line 24, near "is my favourite" Unknown regexp modifier "/h" at (eval 16) line 28, at end of line Unknown regexp modifier "/t" at (eval 16) line 28, at end of line Unknown regexp modifier "/e" at (eval 16) line 28, at end of line Unknown regexp modifier "/v" at (eval 16) line 32, at end of line syntax error at (eval 16) line 42, near ") {"