[27262] in Perl-Users-Digest

home help back first fref pref prev next nref lref last post

Perl-Users Digest, Issue: 9026 Volume: 10

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Tue Mar 7 14:05:39 2006

Date: Tue, 7 Mar 2006 11: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           Tue, 7 Mar 2006     Volume: 10 Number: 9026

Today's topics:
    Re: A Problem With GD <markem@airmail.net>
    Re: A Problem With GD <markem@airmail.net>
    Re: A Problem With GD <markem@airmail.net>
    Re: Are python's generators / yield  possible in perl? <brian.d.foy@gmail.com>
        Force numeric variable ! <sm244@kent.ac.uk>
    Re: Force numeric variable ! xhoster@gmail.com
    Re: Force numeric variable ! <sm244@kent.ac.uk>
    Re: Posting Guidelines for comp.lang.perl.misc ($Revisi <matthew.garrish@sympatico.ca>
    Re: Posting Guidelines for comp.lang.perl.misc ($Revisi <rm@biteme.org>
    Re: Posting Guidelines for comp.lang.perl.misc ($Revisi <matthew.garrish@sympatico.ca>
    Re: Posting Guidelines for comp.lang.perl.misc ($Revisi <rm@biteme.org>
    Re: Posting Guidelines for comp.lang.perl.misc ($Revisi <matthew.garrish@sympatico.ca>
        Regex: Backreferences do not work inside quantifiers? <usenet@nana.franken.de>
        Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)

----------------------------------------------------------------------

Date: Tue, 07 Mar 2006 12:13:08 -0600
From: Mark Manning <markem@airmail.net>
Subject: Re: A Problem With GD
Message-Id: <120rj7dam1acce2@corp.supernews.com>

Hi!  :-)

Ch Lamprecht wrote:
> Mark Manning wrote:
> 

I hate to disappoint you, but on my system it generates the same example as 
before.  I'll send the output to you via e-mail.



------------------------------

Date: Tue, 07 Mar 2006 12:44:24 -0600
From: Mark Manning <markem@airmail.net>
Subject: Re: A Problem With GD
Message-Id: <120rl20pn8a9p40@corp.supernews.com>



Matt Garrish wrote:

> So we know you're at least ten. Somehow that seems about right for the 
> stunted vocabulary and make-pretend conversations...
> 
> Matt 
> 
> 

Oh my.  Aren't we the smart one?  Could you provide one of the "make-pretend 
conversations" and maybe an example of a "stunted vocabulary"?  Or do you just 
like to throw out words and hope they mean something?



------------------------------

Date: Tue, 07 Mar 2006 12:48:10 -0600
From: Mark Manning <markem@airmail.net>
Subject: Re: A Problem With GD
Message-Id: <120rl955l6voa6f@corp.supernews.com>



Mark Manning wrote:

> Mark Manning <markem@airmail.net> trolled:
> 
> 
>>I'm sorry, but I believe you mis-quoted.  Uri Guttman is the
>>person who stated that so I must assume the "dumb fuck" is either
>>you or Mr. Guttman.
> 
> 
> I am sorry, but you not only top-posted, you failed to line up the
> 
>>>>'s properly.  If you had lined up the >>>'s properly you would
> 
> see that Guttman, and not you, was the target of my post.
> 
> Have a nice day.
> 
> cordially, as always,
> 
> rm

Ah!  Then I am truly sorry.  It was all under the heading of "Mark Manning 
<markem@airmail.net> trolled:" and thus took it as a response to myself.  I am 
duly chastised.

I have a question for you.  Someone else has mentioned that I am "top-posting". 
  All I am doing is using the reply button and everything is showing up like this:

A
+-->B
     +--->C

and so on.  Are you saying it is coming out as

A
B
C

????  So instead of indenting properly it is starting a new thread each time?




------------------------------

Date: Tue, 07 Mar 2006 10:04:42 -0600
From: brian d  foy <brian.d.foy@gmail.com>
To: Nomen Nescio <nobody@dizum.com>
Subject: Re: Are python's generators / yield  possible in perl?
Message-Id: <070320061004425844%brian.d.foy@gmail.com>

[[ This message was both posted and mailed: see
   the "To," "Cc," and "Newsgroups" headers for details. ]]

In article <a2a21cb30891ee5e7e7ca8ed41462093@dizum.com>, Nomen Nescio
<nobody@dizum.com> wrote:

> Does perl have an equivalent to python's generators?  I want
> to be able to basically call yield() instead of return() to implement
> iterators. If this exists, can XS code access it via perl guts?

Although you might not get exactly what you want, Mark Jason's
Higher Order Perl will get you most of the way there.

   http://hop.perl.plover.com/

See his chapter on iterators.
*** Free account sponsored by SecureIX.com ***
*** Encrypt your Internet usage with a free VPN account from http://www.SecureIX.com ***


------------------------------

Date: Tue, 07 Mar 2006 18:16:34 +0000
From: "S.Marion" <sm244@kent.ac.uk>
Subject: Force numeric variable !
Message-Id: <dukim3$n1u$1@oheron.kent.ac.uk>

Hello,

I want to compare 2 hexadecinal numbers.
Consider this example:
my $var1 = "0x00d9";
my $var2 = 0x00d9;

if ($var1 != $var2){
	print "Yep, you get the point... it's not equal, which is my problem!!\n";
}

The perl runtime complains about this comparison.

How can I force perl to compare?

I tried things like int($var) or $var += 0 but with no luck.

Cheers,

Sebastien


------------------------------

Date: 07 Mar 2006 18:19:24 GMT
From: xhoster@gmail.com
Subject: Re: Force numeric variable !
Message-Id: <20060307132423.189$Wl@newsreader.com>

"S.Marion" <sm244@kent.ac.uk> wrote:
> Hello,
>
> I want to compare 2 hexadecinal numbers.

perldoc -f hex

Xho

-- 
-------------------- http://NewsReader.Com/ --------------------
Usenet Newsgroup Service                        $9.95/Month 30GB


------------------------------

Date: Tue, 07 Mar 2006 18:32:41 +0000
From: "S.Marion" <sm244@kent.ac.uk>
Subject: Re: Force numeric variable !
Message-Id: <dukjk9$od9$1@oheron.kent.ac.uk>

Thank you :)

> Xho


------------------------------

Date: Tue, 7 Mar 2006 10:56:04 -0500
From: "Matt Garrish" <matthew.garrish@sympatico.ca>
Subject: Re: Posting Guidelines for comp.lang.perl.misc ($Revision: 1.5 $)
Message-Id: <k2iPf.502$xM2.56529@news20.bellglobal.com>


"A Sinan Unur" <luser@AllenRock.org> wrote in message 
news:lkhPf.1054$Qh1.26468@news20.bellglobal.com...
> A. Sinan Unur <1usa@llenroc.ude.invalid> trolled:
>
>> I have done that as well and for the first time, I actually
>> received a human looking response after the automated response. I
>> think they are genuinely concerned about fake From: headers etc.
>
> But "A. Sinan Unur <1usa@llenroc.ude.invalid>" is itself a "fake"
> From: header.  Perhaps I should send in a complain about you?
>
>> I would encourage anyone on this group who does not like the fact
>> that his/her name is being used by this poster to indeed contact
>> his ISP.
>
> Can you show us one instance where your name was used by us?
>

Oh yeah, that'll be tough...

As a long time Sympatico user, I hope they pull the plug on you and force 
you to choke down Rogers...

cordially, as always,

mg 




------------------------------

Date: Tue, 07 Mar 2006 17:34:41 GMT
From: Ronald Matthews <rm@biteme.org>
Subject: Re: Posting Guidelines for comp.lang.perl.misc ($Revision: 1.5 $)
Message-Id: <RujPf.539$xM2.62715@news20.bellglobal.com>

Matt Garrish <matthew.garrish@sympatico.ca> trolled:

> > Can you show us one instance where your name was used by us?

> Oh yeah, that'll be tough...

> As a long time Sympatico user, I hope they pull the plug on you
> and force you to choke down Rogers...

Go ahead.  Show them where I have "forged" a valid email address.

Go for it.  Or do you just have to add your two cents to show others
that you to wish to be recognized as part of the small, anal,
clique?

You seek approval, dontcha?

cordially, as always,

rm


------------------------------

Date: Tue, 7 Mar 2006 12:52:05 -0500
From: "Matt Garrish" <matthew.garrish@sympatico.ca>
Subject: Re: Posting Guidelines for comp.lang.perl.misc ($Revision: 1.5 $)
Message-Id: <5LjPf.552$xM2.64008@news20.bellglobal.com>


"Ronald Matthews" <rm@biteme.org> wrote in message 
news:RujPf.539$xM2.62715@news20.bellglobal.com...
> Matt Garrish <matthew.garrish@sympatico.ca> trolled:
>
>> > Can you show us one instance where your name was used by us?
>
>> Oh yeah, that'll be tough...
>
>> As a long time Sympatico user, I hope they pull the plug on you
>> and force you to choke down Rogers...
>
> Go ahead.  Show them where I have "forged" a valid email address.
>

You don't have a very good understanding of what constitutes abuse, do you? 
You are using their servers to fake other people's names and pretend you're 
posting as them. Whether you put the other person's email in the return or 
not is not going to save you.

> Go for it.  Or do you just have to add your two cents to show others
> that you to wish to be recognized as part of the small, anal,
> clique?
>

Already did, friend. Now how about you pull out a thesaurus and find a few 
new words. You give a newfie a keyboard...

Matt 




------------------------------

Date: Tue, 07 Mar 2006 18:20:36 GMT
From: Ronald Matthews <rm@biteme.org>
Subject: Re: Posting Guidelines for comp.lang.perl.misc ($Revision: 1.5 $)
Message-Id: <U9kPf.582$xM2.65487@news20.bellglobal.com>

Matt Garrish <matthew.garrish@sympatico.ca> trolled:

> You don't have a very good understanding of what constitutes
> abuse, do you?  You are using their servers to fake other people's
> names and pretend you're posting as them. Whether you put the
> other person's email in the return or not is not going to save
> you.

No, I am not.  If my intention was to forge someone else's identity
I would forge their email addresses.  And this is the only forgery
that ISP's take seriously.  You have no more right to the _handle_
"Matt Garrish" than I do.

> > Go for it.  Or do you just have to add your two cents to show
> > others that you to wish to be recognized as part of the small,
> > anal, clique?

> Already did, friend. Now how about you pull out a thesaurus and
> find a few new words. You give a newfie a keyboard...

A newfie joke, now?  Is that where you came from, when you moved to
Toronto?  Ashamed of your roots, eh?  Of course, it would be easy
enough to figure out if you're a newfie.  There are only about 6
surnames in the entire province... I wonder if Garrish is one of
them?

cordially, as always,

rm


------------------------------

Date: Tue, 7 Mar 2006 13:48:23 -0500
From: "Matt Garrish" <matthew.garrish@sympatico.ca>
Subject: Re: Posting Guidelines for comp.lang.perl.misc ($Revision: 1.5 $)
Message-Id: <TzkPf.611$xM2.66944@news20.bellglobal.com>


"Ronald Matthews" <rm@biteme.org> wrote in message 
news:U9kPf.582$xM2.65487@news20.bellglobal.com...
> Matt Garrish <matthew.garrish@sympatico.ca> trolled:
>
>> You don't have a very good understanding of what constitutes
>> abuse, do you?  You are using their servers to fake other people's
>> names and pretend you're posting as them. Whether you put the
>> other person's email in the return or not is not going to save
>> you.
>
> No, I am not.  If my intention was to forge someone else's identity
> I would forge their email addresses.  And this is the only forgery
> that ISP's take seriously.  You have no more right to the _handle_
> "Matt Garrish" than I do.
>

Okay, let's walk through the subscriber agreement:

- Transmitting unsolicited messages which, in the sole judgement of Your 
Service Provider, cause significant disruption or elicit complaints from 
other Internet users.

You've got that one against you.

- Harassing users or groups in any way including but not limited to 
defaming, abusing, stalking, threatening or otherwise violating the legal 
rights of others.

That makes two.

- Impersonating other Sympatico subscribers or other Internet service 
providers' subscribers in any way.

This is the one you have trouble with. Try and comprehend the "in any way" 
part before you claim what you do and do not have a right to do on Bell's 
servers.

- Create a false identity for the purpose of misleading others or forge the 
headers of your email messages in any way.

You might consider reading the rest before running your mouth off: 
http://service.sympatico.ca/index.cfm?method=content.view&content_id=923&category_id=257

But it's not me who will disconnect your service, so save your explanations 
for Bell.

Matt 




------------------------------

Date: Tue, 07 Mar 2006 19:56:09 +0100
From: Wolfgang Thomas <usenet@nana.franken.de>
Subject: Regex: Backreferences do not work inside quantifiers?
Message-Id: <dukl07$lhr$01$1@news.t-online.com>

I have a line of the following format:
string length followed by colon followed by the actual
string.
To extract the string with the correct length I use the
following regular expression:

my $s = "3:abcd";
$s =~ /([\d]+):(.{\1})/;
print "$1\n";
print "$2\n";


However this does not match. Neither $1 nor $2 become
defined. If I replace \1 with 3 it works as expected,
I get 3 in $1 and "abc" in $2.

I have studied the "Perl Programming" book and
the active perl regex documentation, but could not
find a restriction that backreferences must not be
used inside quantifiers.

What am I doing wrong?


------------------------------

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 9026
***************************************


home help back first fref pref prev next nref lref last post