in reply to awk cmd in perl

Due to lack of information I suppose you have an interpolation problem.

Please try either

see non-interpolating commands listed in perlop#Quote-and-Quote-like-Operators for further information.

HTH! :)

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

update

> get perl to see the awk script as just words

in case you explicitly need words, see also qw/quoted words/ which returns a list of strings.

Replies are listed 'Best First'.
Re^2: awk cmd in perl (non-interpolated literal strings)
by blur (Initiate) on Oct 14, 2018 at 07:27 UTC
    this is awesome! worked like a charm :)