Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > I would never use half those $' $" $`... little suckers

Reply
Thread Tools

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

 
 
jidanni@jidanni.org
Guest
Posts: n/a
 
      05-13-2009
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.
 
Reply With Quote
 
 
 
 
Jim Gibson
Guest
Posts: n/a
 
      05-13-2009
In article <(E-Mail Removed)>, <(E-Mail Removed)> wrote:

> 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.

--
Jim Gibson
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
an oddball scary kind of thing you would think would never happen richard Computer Support 4 01-31-2010 06:34 PM
1 little 2 little 3 little Kennedys dale Digital Photography 0 03-23-2008 01:03 PM
if I wanted to never use innerHTML, what else would I use? Jake Barnes Javascript 50 02-13-2006 07:34 PM
OT: Sony suckers well, suckers Ken Briscoe MCSE 1 12-02-2004 10:33 PM



Advertisments