in reply to Re^6: Sorting based on any column
in thread Sorting based on any column
$ab = "\$a";
That's taking the value of $a and appending it to a backslash ...
Actually, it's escaping a $ (dollar) character to make it a literal rather than a scalar sigil, which would result in scalar interpolation:
(I have to use qq{} instead of "" (double-quotes) to keep Windoze command line from going nuts with escapes.)c:\@Work\Perl\monks>perl -wMstrict -le "my $a = 'foo'; my $ab = qq{'\$a' '$a'}; print $ab; " '$a' 'foo'
Give a man a fish: <%-(-(-(-<
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: Sorting based on any column
by aaron_baugher (Curate) on May 21, 2015 at 21:46 UTC |