as to whether using .. as concatenation is a good idea]
Nicholas Clark
On Thu, Feb 15, 2001 at 10:29:33PM +0100, [EMAIL PROTECTED] wrote:
On Thu, Feb 15, 2001 at 08:19:27PM +, Nicholas Clark wrote:
On Thu, Feb 15, 2001 at 09:05:55PM +0100, [EMAIL PROTECTED] wrote:
On Thu, Feb 15, 2001 at 11:23:10AM -0800, Nathan Wiger wrote:
But I have never found
uot;return
if $AUTOLOAD =~ /:DESTROY$/", however.
Doesn't
sub DESTROY {}
have the same effect but with less typing?
Nicholas Clark
ompression method number.
Notice also the distinction - zip an archive format (put lots of files in
one file and take them out again) which allows entries to be compressed.
tar is just an archive format, gzip just a compression system.
how very unix - combine small tools to get a job done :-)
]
at we want to be able to do with it is more important?
2: Is this really still language? If not, where should we be discussing it?
Nicholas Clark
On Mon, Feb 12, 2001 at 01:14:58PM -0500, [EMAIL PROTECTED] wrote:
On Mon, Feb 12, 2001 at 05:45:17PM +, Nicholas Clark wrote:
When I last tried it (over a year ago) running the 5.005 regression tests
with the standard libraries coming out of a zip file took about the same
time
that perlbench would also not object to OO code for benchmarking.
Nicholas Clark
works no problem once all the .al files are in a zip
(it uses require)
s/zip/something else/g to generalise
Nicholas Clark
t; as I've heard it called by the advocates.
(yes, I get irritated when I forget that BSD cp doesn't have a -a flag)
However, in our portability quest "Get New Utilities" is not good
[unless we package TomC's Perl Power Tools and just use those]
Nicholas Clark
abhor is the idea of hardwiring the zip assumption deeply into
our design.
I would agree - hardwiring is to be avoided.
Nicholas Clark
r gunzip in a perlio layer)
4: Can't do XS
5: not sure if it's a sick hack or an elegant hack
It is also possible to place the include zipfile on the end of the perl
executable and put $^X in @INC to make a 1 file perl distribution, but
I don't think anyone ever tried this
Nicholas Clark
On Wed, Feb 07, 2001 at 10:59:00PM -0600, David L. Nicol wrote:
Nicholas Clark wrote:
on the other hand, I'll argue the other side that
{
my $flag
open FOO, "bar" ? $flag=1 : die "aargh $!";
...
}
post {
close FOO if $flag;
}
is clearer
, assuming we can get permission. )
Do we really want to use tar format (over say cpio) as tar rounds files
up to 512 block boundaries, and has some arbitrary restrictions on filename
lengths in the headers?
Nicholas Clark
On Thu, Feb 08, 2001 at 12:41:34PM -0500, Dan Sugalski wrote:
At 05:39 PM 2/8/2001 +, Nicholas Clark wrote:
Do we really want to use tar format (over say cpio) as tar rounds files
up to 512 block boundaries, and has some arbitrary restrictions on filename
lengths in the headers
On Wed, Feb 07, 2001 at 05:15:41PM -0600, David L. Nicol wrote:
Nicholas Clark wrote:
On Wed, Feb 07, 2001 at 04:30:24PM -0600, David L. Nicol wrote:
sub has_post_blocks{
my $i = 3;
post { print "i ended up as $i"};
d like Foo
[although modules ought to be good and get their dependencies right in
Makefile.PL]
and so on. But this has the disadvantage that you don't know how much
you're letting yourself in for (in terms of new modules) until you've
already started committing them to your installed tree.
Nicholas Clark
certainly possibly to read raw memory with suitable (ab)use
of pack and unpack in perl (P and p)
I can't remember if it's possible to write to raw memory, and I'm
not currently on an operating system where I can test this sensibly.
But it's not obvious, safe or portable.
Nicholas Clark
ot;s"), ($b/100) **
$n * 100' 90 4
Proportion of stuff still working 90%
4 modules
chance of it all working 65.61%
[OK, not strictly fair, as 4 modules are not independent variables - they
may all happen to fall over on the same thing]
Changes have compound effects.
Nicholas Clark
loads AnyDBM_File to do the real work without the
user (or script) knowing, so this idea could be extended.
Nicholas Clark
long you slept for.
How does the program discover if sleep can do subseconds?
use Config; ?
Nicholas Clark
ally want to do something a lot more
complex than simple "$y =~" in your expression.
Or do I guess wrong?
Nicholas Clark
I hope
I'm not asking an already asked question.
Nicholas Clark
e "1;" Modules that did
BEGIN {$locale::hint_bits = 0x800;}
still do what's expected of perl5 when written:
INIT {
BEGIN {$locale::hint_bits = 0x800;}
}
Nicholas Clark
__value_in_regs you get the results in r0 to r3.
Oh, and who said I didn't want to write my programs in perl and assembler?
Nicholas Clark
, the firm running perl.com). It's a reasonable question to
ask, but you'll be more likely to get a meaningful answer if you can find
an address as perl.com (no, sorry, I don't know offhand which address)
Nicholas Clark
on how to install BSD
Nicholas Clark
o know how to handle it.
Yes. I think I suggest something similar (doing it per array) but Bart's
explanation made me realise this was not wanted. One doesn't want to change
the array in any way, just how the local code sees arrays. Its use can
still be discouraged, but that's not the same as saying "never use this"
Nicholas Clark
delimiters
that q() etc support, did they? :-)
Does Unicode define bracket pairings for character sets? ducks
Nicholas Clark
a feature. Every
non-useful irregularity removed aids advocacy, teaching and documenting,
without hindering programming.
Nicholas Clark
On Sat, Sep 30, 2000 at 09:56:43PM +0100, Nicholas Clark wrote:
Similarly modules' formatting breaks if you set $/;
$\;
D'oh
How many of the punctuation variables would be better with less-than-global
scope?
Nicholas Clark
l5;
I've also discovered that I missed a reference - rfc226
"Selective interpolation in single quotish context."
Nicholas Clark
201 - 231 of 231 matches
Mail list logo