in reply to Take in command line arguments as an entire string?

You want the variables to be interpolated.

Try  my $args = qq{@ARGV};

You could also use plain double quotes instead.

Or join " ", @ARGV

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice out

Replies are listed 'Best First'.
Re^2: Take in command line arguments as an entire string?
by proxie (Novice) on Aug 22, 2018 at 05:42 UTC
    Thanks! Those worked.