I would never use half those $' $" $`... little suckers

J

jidanni

Where's the (official) document with all the $' $" $` etc. all
concentrated on one line? The best I could do is
$ perl -nwe '$h{$_}++ for /^X<(\$[^>A-Z\d]+)/;END{print "$_ " for keys %h}' /usr/share/perl/5.10.0/pod/perlvar.pod
$& $) $% $| $] $/ $. $! $; ${^ $( $@ $= $, $a $\ $? $[ $$ $^ $` $" $~ $- $_ $: $+ $'
Anyway, I would never use half those little suckers. You see often I use
one liners in Makefiles, and all the escaping and Emacs font color wrong
guessing is just not worth the excitement.
 
J

Jim Gibson

Where's the (official) document with all the $' $" $` etc. all
concentrated on one line? The best I could do is
$ perl -nwe '$h{$_}++ for /^X<(\$[^>A-Z\d]+)/;END{print "$_ " for keys %h}'
/usr/share/perl/5.10.0/pod/perlvar.pod
$& $) $% $| $] $/ $. $! $; ${^ $( $@ $= $, $a $\ $? $[ $$ $^ $` $" $~ $- $_
$: $+ $'
Anyway, I would never use half those little suckers. You see often I use
one liners in Makefiles, and all the escaping and Emacs font color wrong
guessing is just not worth the excitement.

The predefined Perl variables are described in 'perldoc perlvar'. They
are not listed on one line, but that wouldn't be very useful.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,436
Messages
2,571,696
Members
48,796
Latest member
Greg L.
Top