[27839] in Perl-Users-Digest
Perl-Users Digest, Issue: 9203 Volume: 10
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Wed Apr 26 14:05:57 2006
Date: Wed, 26 Apr 2006 11:05:06 -0700 (PDT)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Perl-Users Digest Wed, 26 Apr 2006 Volume: 10 Number: 9203
Today's topics:
Re: "our" from XS and some other questions <bol@adv.magwien.gv.at>
Re: Line wrapping non-printable characters <chatterbox@doctorwhowebguide.net>
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Wed, 26 Apr 2006 09:43:00 +0200
From: "Ferry Bolhar" <bol@adv.magwien.gv.at>
Subject: Re: "our" from XS and some other questions
Message-Id: <1146037382.730504@proxy.dienste.wien.at>
Ilya Zakahrevich:
> Well, I checked MY version of Perl; it might differ from yours.
There are many differences, even with the same Perl version on
different platforms. This also conerncs the IN_PAD flag:
Perl OS MULTI IN_PAD
----------------------------------------------
5.8.7 VMS y -
5.8.6 Linux - y
5.8.6 W2K y y
5.8.0 Digital UNIX y -
5.8.0 Linux - y
5.6.1 Linux - -
5.6.0 AIX y -
I'm a little bit surprised about those may differences, especially
that 5.6.0 != 5.6.0! I would have expected a similar behaviour
in same versions, across all platforms!
BTW: I didn't found Devel::Peek in 5.005 and 5.004. Was there
no support in these versions for the module? Can I download it
from CPAN and install it nevertheless?
>> Well, what's the meaning of the GV_ADDMULTI flag in get_sv?
>
> The proof of the source is in the reading.
Sorry, I can't understand. Docs (perlguts) say, that ADDMULTI is
used to suppress the "used only once" messages. However, as
mentioned yesterday, it is during the compiler pass that events
like this are recognized. So, it makes no sense to attempt to
changes this behaviour at run-time because it's too late at this
time (and as shown yesterday, it simply does not work). Therefore
my question: what's the purpose of GV_ADDMULTI? How run-
time behaviour will change when setting it?
> > BTW: why the reference operator in the 'Dump' arguments?
>
> One does not want to ever use "bare" globs. Too much magic.
In this case (when using with 'Dump'), there's no difference (except
that the output of the leading RV is omitted).
BTW: are globs always magic? Do you know what their magic
vtbl routines getglob() and setglob() actually do?
Greetings, Ferry
--
Ing. Ferry Bolhar
Municipality of Vienna, Department 14
A-1010 Vienna / AUSTRIA
E-mail: bol@adv.magwien.gv.at
------------------------------
Date: Wed, 26 Apr 2006 09:58:10 +0100
From: "Paul Harman" <chatterbox@doctorwhowebguide.net>
Subject: Re: Line wrapping non-printable characters
Message-Id: <4b8r4uF10f32qU1@individual.net>
"Anno Siegel" <anno4000@lublin.zrz.tu-berlin.de> wrote in message
news:4b7c8aFvs1hoU1@news.dfncis.de...
> Like this?
>
> my $lines = join "\n", $block =~ /(.{0,78})/sg;
Yes, ish - but as you surmised later on I have existing line feeds to cope
with, and a few other wrinkles. But yeah it was effectively that simple to
roll my own.
Paul
------------------------------
Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Digest Administrivia (Last modified: 6 Apr 01)
Message-Id: <null>
Administrivia:
#The Perl-Users Digest is a retransmission of the USENET newsgroup
#comp.lang.perl.misc. For subscription or unsubscription requests, send
#the single line:
#
# subscribe perl-users
#or:
# unsubscribe perl-users
#
#to almanac@ruby.oce.orst.edu.
NOTE: due to the current flood of worm email banging on ruby, the smtp
server on ruby has been shut off until further notice.
To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.
#To request back copies (available for a week or so), send your request
#to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
#where x is the volume number and y is the issue number.
#For other requests pertaining to the digest, send mail to
#perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
#sending perl questions to the -request address, I don't have time to
#answer them even if I did know the answer.
------------------------------
End of Perl-Users Digest V10 Issue 9203
***************************************