[26533] in Perl-Users-Digest
Perl-Users Digest, Issue: 8680 Volume: 10
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Thu Nov 17 18:05:31 2005
Date: Thu, 17 Nov 2005 15:05:08 -0800 (PST)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Perl-Users Digest Thu, 17 Nov 2005 Volume: 10 Number: 8680
Today's topics:
Re: /(foo|)/ vs /(foo)?/ <abigail@abigail.nl>
Re: [OT] Google Groups: vote for Default quoting <abigail@abigail.nl>
Re: [OT] Google Groups: vote for Default quoting <abigail@abigail.nl>
Re: [OT] Google Groups: vote for Default quoting <abigail@abigail.nl>
Re: [OT] Google Groups: vote for Default quoting xhoster@gmail.com
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: 17 Nov 2005 19:28:02 GMT
From: Abigail <abigail@abigail.nl>
Subject: Re: /(foo|)/ vs /(foo)?/
Message-Id: <slrndnpme2.qiv.abigail@alexandra.abigail.nl>
kj (socyl@987jk.com.invalid) wrote on MMMMCDLXI September MCMXCIII in
<URL:news:dlhsjv$mqa$1@reader2.panix.com>:
^^
^^
^^
^^
^^
^^ While looking at someone else's code I came across a regular
^^ expression that included a construct like /(foo|)/. As far as I
^^ can tell, it should produce the same result as /(foo)?/. But the
^^ author of the code knows a heck of a lot more Perl than I do, so
^^ I'm wondering why she would have picked the former over the latter.
^^ Any ideas?
$_ = "bar";
print /(foo|) (?(1)|(?!))/x ? "match\n" : "no match\n";
print /(foo)? (?(1)|(?!))/x ? "match\n" : "no match\n";
__END__
match
no match
Abigail
--
sub _'_{$_'_=~s/$a/$_/}map{$$_=$Z++}Y,a..z,A..X;*{($_::_=sprintf+q=%X==>"$A$Y".
"$b$r$T$u")=~s~0~O~g;map+_::_,U=>T=>L=>$Z;$_::_}=*_;sub _{print+/.*::(.*)/s};;;
*_'_=*{chr($b*$e)};*__=*{chr(1<<$e)}; # Perl 5.6.0 broke this...
_::_(r(e(k(c(a(H(__(l(r(e(P(__(r(e(h(t(o(n(a(__(t(us(J())))))))))))))))))))))))
------------------------------
Date: 17 Nov 2005 19:06:34 GMT
From: Abigail <abigail@abigail.nl>
Subject: Re: [OT] Google Groups: vote for Default quoting
Message-Id: <slrndnpl5q.qiv.abigail@alexandra.abigail.nl>
John Bokma (john@castleamber.com) wrote on MMMMCDLXI September MCMXCIII
in <URL:news:Xns9710B98F87A28castleamber@130.133.1.4>:
-- Abigail <abigail@abigail.nl> wrote:
--
-- > Why would I? I don't use google groups, and I don't read postings made
-- > via google groups.
--
-- Some people have no other option than to use Google Groups. I used to
Yes, and? Should that be my problem? Some people may not have another
option than to use Perlmonks or blogs. Does that mean I should read
Perlmonks, or read blogs?
If people want their posts to be read by me, they better stay out of my
killfile - and that includes not using Google groups. If they don't care
whether I read their posts or not, they can use Google groups.
Abigail
--
#!/opt/perl/bin/perl -- # Remove trailing newline!
BEGIN{$SIG{__WARN__}=sub{$_=pop;y-_- -;print/".*(.)"/;
truncate$0,-1+-s$0;exec$0;}}//rekcaH_lreP_rehtona_tsuJ
------------------------------
Date: 17 Nov 2005 19:13:24 GMT
From: Abigail <abigail@abigail.nl>
Subject: Re: [OT] Google Groups: vote for Default quoting
Message-Id: <slrndnplik.qiv.abigail@alexandra.abigail.nl>
axel@white-eagle.invalid.uk (axel@white-eagle.invalid.uk) wrote on
MMMMCDLXI September MCMXCIII in <URL:news:Yc3ff.28824$375.28358@fe3.news.blueyonder.co.uk>:
)) Gunnar Hjalmarsson <noreply@gunnar.cc> wrote:
)) > Bernard El-Hagin wrote:
)) >> Abigail wrote:
)) >>> Either you make that post on behalf of your company, and then you should
)) >>> have a case to have the hole in the firewall, or you aren't, and then
)) >>> you shouldn't be posting from work anyway.
))
)) >> Ummm, why exactly?
))
)) > If you don't understand that, your employer may be able to provide a
)) > more tangible explanation. ;-)
))
)) I always had an ethical problem with that... not being able to contribute
)) to a news group seemed wrong if I were to use it to ask for advice
)) which helped me in my work.
If your employer is ok with you reading news at work, you should have
no problems in getting a hole through the firewall. Or else you have
an internal problem at your work - which isn't my problem to solve.
Abigail
--
sub J::FETCH{Just }$_.='print+"@{[map';sub J::TIESCALAR{bless\my$J,J}
sub A::FETCH{Another}$_.='{tie my($x),$';sub A::TIESCALAR{bless\my$A,A}
sub P::FETCH{Perl }$_.='_;$x}qw/J A P';sub P::TIESCALAR{bless\my$P,P}
sub H::FETCH{Hacker }$_.=' H/]}\n"';eval;sub H::TIESCALAR{bless\my$H,H}
------------------------------
Date: 17 Nov 2005 19:17:28 GMT
From: Abigail <abigail@abigail.nl>
Subject: Re: [OT] Google Groups: vote for Default quoting
Message-Id: <slrndnplq8.qiv.abigail@alexandra.abigail.nl>
John Bokma (john@castleamber.com) wrote on MMMMCDLXI September MCMXCIII
in <URL:news:Xns97114AB9FF94Dcastleamber@130.133.1.4>:
`` Abigail <abigail@abigail.nl> wrote:
``
`` > John Bokma (john@castleamber.com) wrote on MMMMCDLXI September
`` > MCMXCIII in <URL:news:Xns971110A2CCED6castleamber@130.133.1.4>:
`` > }}
`` > }} Imagine your Usenet server is down, and you have an urgent
`` > question do you }}
`` > }} [a] nothing
`` > }} [b] use Google Groups?
`` > }}
`` > }} I have done the latter in the past. Also note that some people
`` > using GG do }} post useful replies, etc.
`` >
`` >
`` > Isn't the standard response of this group to questions marked "urgent"
`` > then Usenet is the wrong forum for urgent questions?
``
`` That's because how it's written. A message can still be urgent for the
`` sender, without attempting to push people to reply.
``
`` There is a difference between someone asking:
``
`` can you please help me?
``
`` or:
``
`` I need your help NOW!
``
If Usenet isn't an appropriate forum for urgent questions, then it
doesn't matter whether the question says it's urgent. It also means
you shouldn't be asking urgent questions on Usenet.
If Usent is an appropriate forum for urgent questions, it also doesn't
matter whether the question says it's urgent. It also means people
shouldn't tell people that Usent isn't an appropriate forum for
urgent questions.
I think that Usenet isn't an appropriate forum for urgent questions.
Regardless whether they say so or not.
Abigail
--
perl5.004 -wMMath::BigInt -e'$^V=Math::BigInt->new(qq]$^F$^W783$[$%9889$^F47]
.qq]$|88768$^W596577669$%$^W5$^F3364$[$^W$^F$|838747$[8889739$%$|$^F673$%$^W]
.qq]98$^F76777$=56]);$^U=substr($]=>$|=>5)*(q.25..($^W=@^V))=>do{print+chr$^V
%$^U;$^V/=$^U}while$^V!=$^W'
------------------------------
Date: 17 Nov 2005 21:14:09 GMT
From: xhoster@gmail.com
Subject: Re: [OT] Google Groups: vote for Default quoting
Message-Id: <20051117161409.849$3E@newsreader.com>
John Bokma <john@castleamber.com> wrote:
> Charlton Wilbur <cwilbur@chromatico.net> wrote:
>
> > Beyond that, I trust that this time, just like every other time
> > there's been an infusion of idiots onto Usenet via an easily
> > accessible service, the people with a bit of smarts will realize that
> > they're being ignored because of their news host and pay the $10 a
> > year for news.cfn.de or some other news service.
>
> Which exclude people working for a company that just firewalls some
> ports, or if your Usenet server is down, and you have an urgent post to
> make. (Been there).
Of your employer doesn't want you to use usenet from work, I don't see why
others should go out of their way to help you circumvent your employer's
decision.
Xho
--
-------------------- http://NewsReader.Com/ --------------------
Usenet Newsgroup Service $9.95/Month 30GB
------------------------------
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 8680
***************************************