interpolation problem in emacspipe.pl script from emacswiki

2010-08-13 Thread Gabriel Striewe
Dear List, i found on the emacswiki the following script written in Perl which is supposed to make emacsclient read from a pipe: #! /usr/bin/perl # This script uses emacsclient, be sure to have a running server session. # A server-session can be started by "M-x server-start". my $status = syste

interpolation of function reference in a here doc

2007-07-02 Thread Gabriel Striewe
Dear List, I wanted to interpolate a function reference in a here doc. The following works fine: my $hello = sub { return "hello world!"; }; printf "hello $s\n", &$hello(); But when I use a heredoc instead, it doesn't work: print

Re: perl book

2004-04-20 Thread Gabriel Striewe
o it (they do offer a trial). Apart from that, I do not know about other online versions of this book: only the online documentation at http://www.perl.org Regards Gabriel On Tue, Apr 20, 2004 at 04:10:59AM -0700, Prem Vilas Fortran M. Rara wrote: > any online version? > > prem &

Re: perl book

2004-04-20 Thread Gabriel Striewe
*"Programming Perl" by Larry Wall (the author of Perl himself), Tom Christiansen and Jon Orwant Regards Gabriel http://www.amazon.com/exec/obidos/tg/detail/-/0596000278/qid=1082459072/sr=8-1/ref=pd_ka_1/102-7371199-7172966?v=glance&s=books&n=507846 On Tue, Apr 20, 2004 at 03:52:01AM -0700, Pr