in reply to Passing a String

The shell splits up unquoted arguments, so try initializing like this:
my @variable = @ARGV;
or even eliminate @variable, and use @ARGV directly.

        “The sources of quotes found on the internet are not always reliable.” — Abraham Lincoln.3; cf.