in reply to Re^2: Problem with ampersand and regexin thread Problem with ampersand and regex
How are you filling @array?
Take a look at What's the difference between Perl's backticks, system, and exec?. The system() call returns the exit status, not the actual result (STDOUT) of the command like the backtick operator does.
Bought a souvenir
Emailed all my friends about it
Got blowed up
Hit him right dead in the jaw
Made it awkward
Took a selfie
Want to go home
Results (347 votes). Check out past polls.