This loop (assuming you have an /etc/passwd and may read it) runs forever:
while () {
open my $fh, '<:unix', '/etc/passwd' or die $!;
}
This loop terminates:
while () {
open my $fh, '<', '/etc/passwd' or die $!;
binmode $fh, ':unix';
}
Note that you will have to live with some extraneous output:
Too many open files at t.pl line 2.
Btw, you can make it loop forever again this way:
require POSIX;
while () {
open my $fh, '<', '/etc/passwd' or die $!;
binmode $fh, ':unix';
POSIX::close fileno $fh;
}
It is part of our solar system now.
Now that’s legacy.
Maybe the fault is, indeed, not in our stars.
AbstractSingletonProxyFactoryBean:
Convenient proxy factory bean superclass for proxy factory beans that create only singletons.
I was looking over my old notes recently - I have a file where I keep ideas for projects among other things. These notes are really of any kind: implementation details, user requirements that should be met, project naming ideas. Among the potential projects for some later day is a Twitter client, for which I kept some naming notes. The thought process behind them was to somehow combine “Twitter” with “Perl” (not necessarily in an obvious fashion). I had even arrived at a conclusion.
With the benefit of retrospect, I have no idea what I was thinking.
I had decided that the right name would be “Twipple”.