[13873] in Perl-Users-Digest

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

Perl-Users Digest, Issue: 1283 Volume: 9

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Thu Nov 4 18:10:24 1999

Date: Thu, 4 Nov 1999 15:10:15 -0800 (PST)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Message-Id: <941757014-v9-i1283@ruby.oce.orst.edu>
Content-Type: text

Perl-Users Digest           Thu, 4 Nov 1999     Volume: 9 Number: 1283

Today's topics:
    Re: nothing to do with perl (was Re: Who is worse: Cops <vjampire@usenet-performance-art.org>
    Re: nothing to do with perl (was Re: Who is worse: Cops <meowatilla@usenet-performance-art.org>
    Re: nothing to do with perl (was Re: Who is worse: Cops <Lt_Colonel/1st_Virginia_Volunteers/Cæsium_Brigade=+FF2+=mhm16_x_3@alt.alien.vampire.flonk.flonk.flonk-alt.nuke.france-NUKE_FRANCE_AND_THOSE_CUNTS_IN_BELGIUM_ALSO_THOSE_PRETEND_FROG_FUCKERS_IN_QUEBEC_Come_on_you_demon_yokels_PLONK_ME_YOU_FUCKHEADS>
    Re: nothing to do with perl (was Re: Who is worse: Cops <meowatilla@usenet-performance-art.org>
    Re: nothing to do with perl (was Re: Who is worse: Cops (nightmare)
    Re: Perl Help <msalter@bestweb.net>
    Re: perl lang parser (Salem Lee Ganzhorn)
        problems reading text file (Aaron  Chrismas)
    Re: replace " " with &nbsp; (Greg Bacon)
    Re: Round off a number raju_k@iname.com
    Re: Special Problem <moseley@best.com>
        SV: FAQ 3.9: Is there an IDE or Windows Perl Editor? <ulf.lindehoff@telia.com>
    Re: Using Perl on an NT Platform patelni101480@my-deja.com
    Re: Using Perl on an NT Platform (Kragen Sitaker)
    Re: Who is worse: Cops or Criminals <meowatilla@usenet-performance-art.org>
        Digest Administrivia (Last modified: 16 Sep 99) (Perl-Users-Digest Admin)

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

Date: Thu, 04 Nov 1999 21:24:22 +0100
From: The Vampire LeStat <vjampire@usenet-performance-art.org>
Subject: Re: nothing to do with perl (was Re: Who is worse: Cops or Criminals)
Message-Id: <7vspt8$pu3$4@nntpd.databasix.com>

On 04 Nov 1999 13:17:03 -0500, as I was cleaning my fangs, Uri Guttman
<uri@sysarch.com> almost made me bite my tongue with the following:

>
>why did this thread get into c.l.p.misc? keep it out of here

No.

>or we will
>make all your servers run only cobol.

That'd be like, fun!
>
>followups set to remove perl

FU's ignored
>
>uri

-- 
_______________________________________________________________________
  ______ __  __  ____       __ __  ___  ___  ___ ____  __ ____   ____
  | || | ||  || ||          || || // \\ ||\\//|| || \\ || || \\ ||
    ||   ||==|| ||==        \\ // ||=|| || \/ || ||_// || ||_// ||==
    ||   ||  || ||___ `-.    \V/  || || ||    || ||    || || \\ ||___
                       )``.      __     ____  __  ______  ___  ______
                     __L  \\     ||    ||    (( \ | || | // \\ | || |
                  .-' <---.\\    ||    ||==   \\    ||   ||=||   ||
             .  .'     ) _.->>   ||__| ||___ \_))   ||   || ||   ||
              \`--.__.<-'  //\
              |`-<   /`-. //( |         vjiking@hotmail.com
              |   \ |    `-..\|(
              |    ).-.     `-(-} Meow.
              |        )     _/"
               \      /.__.-'/    I would Become a Ljutefjisk Vjiking
                \    ''     /         for Usenet Performance Art.
                 `-._   _.-'  
                     """  <Fabulous ASCII art by VK, the one&only:)>
_______________________________________________________________________

	              The Vjampire Lestat

		        BoyToy#24 of the
      "Romathian Ladies Anarchist Club and Terrorist Society"
			   [RLACaTS]
 
     (Includes free washing and drying and only *minor* damage)

 Sadly not listed even ONCE on Scabu424's list of the eternally banned
_______________________________________________________________________


      	"Looks like you just found a better class of thug.
      	 My turn now, spammer and desecrator of Asatru."

           -Dirk Bruere sets the usenet kook highbar in
            <380BDAFE.5F25DB62@kbnet.co.uk>


	"good work, LeStat, you found the missing silly shit."

 	   -çu congratulates me on having restored UseNet
	    to its former splendour in
	    <7vm8dg$nef$1@dosa.alt.net>

______________________________________________________________________

          "Look! A Three-headed Olive Loaf! YIKES!!!!!"
______________________________________________________________________

	The above is the fifth line of my four-line .sig



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

Date: Thu, 4 Nov 1999 15:06:57 -0600
From: Rev. Meowatilla Al' Rashad <meowatilla@usenet-performance-art.org>
Subject: Re: nothing to do with perl (was Re: Who is worse: Cops or Criminals)
Message-Id: <7vsscs$8dg$1@nntpd.databasix.com>

In <7vspt8$pu3$4@nntpd.databasix.com>, The Vampire LeStat wrote:
> On 04 Nov 1999 13:17:03 -0500, as I was cleaning my fangs, Uri Guttman
> <uri@sysarch.com> almost made me bite my tongue with the following:
> 
> >
> >why did this thread get into c.l.p.misc? keep it out of here
> 
> No.
> 
> >or we will
> >make all your servers run only cobol.
> 
> That'd be like, fun!
> >
> >followups set to remove perl
> 
> FU's ignored
> >
> >uri

If they start a fight, I'm going to make all their servers run only VISUAL 
BASIC.

muhuhHAHAAHAHAHAHAAHAHAAAHAAHAAAAAHAHAHAHAHAAAAAAAAAAAAAAAAAAAAAAAAA!!!!!!!!!!11


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

Date: Thu, 04 Nov 1999 22:01:56 GMT
From: Zombie Flesh Eater aka Rocky aka el loco roco aka........ <Lt_Colonel/1st_Virginia_Volunteers/Cæsium_Brigade=+FF2+=mhm16_x_3@alt.alien.vampire.flonk.flonk.flonk-alt.nuke.france-NUKE_FRANCE_AND_THOSE_CUNTS_IN_BELGIUM_ALSO_THOSE_PRETEND_FROG_FUCKERS_IN_QUEBEC_Come_on_you_demon_yokels_PLONK_ME_YOU_FUCKHEADS>
Subject: Re: nothing to do with perl (was Re: Who is worse: Cops or Criminals)
Message-Id: <MAMiOLrpnUs0BEoLodExLz5Wk=jR@4ax.com>

On 04 Nov 1999 13:17:03 -0500, Uri Guttman <uri@sysarch.com> wrote:

>
>why did this thread get into c.l.p.misc? keep it out of here or we will
>make all your servers run only cobol.
>
>followups set to remove perl

What do you wanna remove the perl for?

It took me ages to put that around your wifes neck.

>uri

           ________     ________   
          / ______/\   / ______/\     ___   
         / /\_____\/  / /\_____\/    /  /\   
        / /_/__      / /_/__        /  / / 
       / _____/\    / _____/\      /  / / 
      / /\____\/   / /\____\/     /  / /  
     / / /        / / /          /__/ / 
    /_/ /        /_/ /           \__\/  
    \_\/         \_\/          


I've eaten so much pussy, I've forgoten what real food tastes like.


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

Date: Thu, 4 Nov 1999 16:55:18 -0600
From: Rev. Meowatilla Al' Rashad <meowatilla@usenet-performance-art.org>
Subject: Re: nothing to do with perl (was Re: Who is worse: Cops or Criminals)
Message-Id: <7vt2oa$1re$1@nntpd.databasix.com>

In <MAMiOLrpnUs0BEoLodExLz5Wk=jR@4ax.com>, Zombie Flesh Eater aka Rocky aka el 
loco roco aka........ wrote:
> On 04 Nov 1999 13:17:03 -0500, Uri Guttman <uri@sysarch.com> wrote:
> 
> >
> >why did this thread get into c.l.p.misc? keep it out of here or we will
> >make all your servers run only cobol.
> >
> >followups set to remove perl
> 
> What do you wanna remove the perl for?
> 
> It took me ages to put that around your wifes neck.
> 
> >uri
> 
>            ________     ________   
>           / ______/\   / ______/\     ___   
>          / /\_____\/  / /\_____\/    /  /\   
>         / /_/__      / /_/__        /  / / 
>        / _____/\    / _____/\      /  / / 
>       / /\____\/   / /\____\/     /  / /  
>      / / /        / / /          /__/ / 
>     /_/ /        /_/ /           \__\/  
>     \_\/         \_\/          
> 
> 
> I've eaten so much pussy, I've forgoten what real food tastes like.

Pussy, its not just for breakfast anymore!


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

Date: Thu, 04 Nov 1999 23:02:48 GMT
From: nightmare44@subdimension.com (nightmare)
Subject: Re: nothing to do with perl (was Re: Who is worse: Cops or Criminals)
Message-Id: <8E74A04E8nightmare44subdimens@208.147.152.80>

The almighty prophet known as: meowatilla@usenet-performance-art.org (Rev. 
Meowatilla Al' Rashad) spoke and with these  words the masses knew of the 
scam that had been laid upon them:

>In <MAMiOLrpnUs0BEoLodExLz5Wk=jR@4ax.com>, Zombie Flesh Eater aka Rocky 
aka el 
>loco roco aka........ wrote:
>> On 04 Nov 1999 13:17:03 -0500, Uri Guttman <uri@sysarch.com> wrote:
>> 
>> >
>> >why did this thread get into c.l.p.misc? keep it out of here or we will
>> >make all your servers run only cobol.
>> >
>> >followups set to remove perl
>> 
>> What do you wanna remove the perl for?
>> 
>> It took me ages to put that around your wifes neck.
>> 
>> >uri
>> 
>>            ________     ________   
>>           / ______/\   / ______/\     ___   
>>          / /\_____\/  / /\_____\/    /  /\   
>>         / /_/__      / /_/__        /  / / 
>>        / _____/\    / _____/\      /  / / 
>>       / /\____\/   / /\____\/     /  / /  
>>      / / /        / / /          /__/ / 
>>     /_/ /        /_/ /           \__\/  
>>     \_\/         \_\/          
>> 
>> 
>> I've eaten so much pussy, I've forgoten what real food tastes like.
>
>Pussy, its not just for breakfast anymore!
>

Pussy, makes a great snack anytime!

-- 
nightmare       ICQ#34579920
http://www.angelfire.com/al2/nightmare44/Welcome.html 
smeeter #33
"These train conversations are passing me by
and I don't have nothing to say
you get what you pay for but I just had no
intention of living this way"-Counting Crows


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

Date: Thu, 04 Nov 1999 20:50:42 GMT
From: Mike Salter <msalter@bestweb.net>
Subject: Re: Perl Help
Message-Id: <Pine.BSF.4.05.9911041548190.22516-100000@monet.bestweb.net>

On Thu, 4 Nov 1999, Alan wrote:

A>I need a little direction on this. I'm still sort of new to perl programming
A>and have written some
A>small simple scripts but this one I'm not real sure how to attack so any
A>input to web sites, books,
A>or similar scripts would be appreciated.
A>
A>I need to write a script to read a text file search for a specific line if
A>its there and modify the line.
A>If the line is not in the text file then I need to add it. Any thoughts?

Alan: 
Point your browser to www.perl.com
Also, regularly read this newsgroup.  A lot of your questions can be
answered by reading the FAQs posted here, and responses to questions.

HTH

Mike




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

Date: 4 Nov 1999 18:29:55 GMT
From: slganzho@unity.ncsu.edu (Salem Lee Ganzhorn)
Subject: Re: perl lang parser
Message-Id: <7vsjb3$4dd$1@uni00nw.unity.ncsu.edu>

Dan Sugalski (dan@tuatha.sidhe.org) wrote:
: Salem Lee Ganzhorn <slganzho@unity.ncsu.edu> wrote:
: 
: > Whew, thanks for the information all.
: > I guess my answer is I need to learn another language... YACC
: 
: If all you're doing is scanning the code to handle dependencies, you most
: definitely don't need yacc. It's *way* overkill, and won't do what you
: want.
: 
: Just scan through for require, do, and use, and you should be able to get
: the info you need. You may need to go walk the perl install tree to check
: module dates and such, but that's about it.
: 
: 					Dan

I am also looking at subroutine/method/variable dependancies. The only part of 
the syntax I really need to be able to parse is the namespace.


However this requires that I parse the grammer to some extent. This is for 
makeing an automated QA suite which will only verify the code tree which 
uses the modified subroutine/method/variable.
-- 
Salem Lee Ganzhorn... slganzho@unity.ncsu.edu


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

Date: 4 Nov 1999 20:55:18 GMT
From: achrisma@s3.ucf.engr (Aaron  Chrismas)
Subject: problems reading text file
Message-Id: <slrn823sm3.o2k.achrisma@s3.ucf.engr>

Hi,

I have a text file which stores a bit of network info
anThe problem
is that on of the fields is wrapped by "<....>".  For
example:

A397-13D	<G049>	17.2.3A	99Nov03	99Aug02

Somewhere between reading the file or printing out the
contents of the from within my script.  Everything
between (and including) the brackets is lost.  Does
anyone know of a solution??

Thanks in advance for any help.

Aaron Chrismas
Network Programmer/Analyst
UVic, Faculty of Engineering



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

Date: 4 Nov 1999 21:55:00 GMT
From: gbacon@ruby.itsc.uah.edu (Greg Bacon)
Subject: Re: replace " " with &nbsp;
Message-Id: <7vsvbk$duv$2@info2.uah.edu>

In article <m1wvrytcwl.fsf@halfdome.holdit.com>,
	merlyn@stonehenge.com (Randal L. Schwartz) writes:

:         $line =~ s/\G /&nbsp;/g;

Grepping through the pods, \G is documented to work with s/// only in
the perlfaq pages.  In perlop and perlre, it is only documented to
work with m//.

Greg
-- 
Usenet is like a herd of performing elephants with diarrhea; massive,
difficult to redirect, awe-inspiring, entertaining, and a source of
mind-boggling amounts of excrement when you least expect it.
    -- Gene Spafford


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

Date: Thu, 04 Nov 1999 20:44:06 GMT
From: raju_k@iname.com
Subject: Re: Round off a number
Message-Id: <7vsr6l$b8g$1@nnrp1.deja.com>

Steve,

Opps, I should have included the caveat about rounding ... "straight
from the mouth of perldocs' babes:"

 ---------  Excerpt from 'perldoc -q round' ---------
>To see why, notice how you'll still have an issue on half-way-point
>alternation:
>
>    for ($i = 0; $i < 1.01; $i += 0.05) { printf "%.1f ",$i}
>
>    0.0 0.1 0.1 0.2 0.2 0.2 0.3 0.3 0.4 0.4 0.5 0.5 0.6 0.7 0.7
>    0.8 0.8 0.9 0.9 1.0 1.0
>
>Don't blame Perl.  It's the same as in C.  IEEE says we have to do
>this. Perl numbers whose absolute values are integers under 2**31 (on
>32 bit machines) will work pretty much like mathematical integers.
>Other numbers are not guaranteed.
 ...

In article <3821C536.6A9375A8@entigo.com>,
  steve plazony <splazony@entigo.com> wrote:
> using the round sub below, can anyone explain this:
>
> print round(113.1415, 3), "\n";
> - displays 113.141
>
> and
>
> print round(113.14151, 3), "\n";
> - displays 113.142
>
> i have read articles about Perl rounding differently
> from machine to machine.
>
> here are the machine specs that i am running on:
> Machine hardware:     sun4u
> OS version:                5.6
> Processor type:          sparc
> Hardware:                 SUNW,Ultra-1
>
> raju_k@iname.com wrote:
>
> > sub
> > round {
> >   my($num, $places) = @_;
> >   my $tmpl = "%.${places}f";
> >   return sprintf($tmpl, $num);
> > }
> >
> > a call like:
> >
> > print round(3.1415926, 3), "\n";
> >
> > will display:
> >
> > 3.142
> >
> > --raju
> >
> > In article <38221DE8.167E@u-picardie.fr>,
> >   Francois Dupradeau <fyd@u-picardie.fr> wrote:
> > > Dear All,
> > >
> > > Is there a function in Perl to round off the 2nd or the third (or
the
> > > 5th, etc...) number after the decimal point of a number ?
> > > ex:
> > > 3.123456789 => 3.123
> > >
> > > Thanks
> > > Regards
> > > Francois
> > >
> > > --
> > > Francois Dupradeau
> > >    ------------
> > > Faculte de Pharmacie
> > > 1, rue des Louvels
> > > 80037 Amiens Cedex
> > > France
> > >    ------------
> > > Tel 33 (0)3 22 82 74 94
> > > Fax 33 (0)3 22 82 74 69
> > > Email fyd@u-picardie.fr
> > >
> >
> > Sent via Deja.com http://www.deja.com/
> > Before you buy.
>
>


Sent via Deja.com http://www.deja.com/
Before you buy.


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

Date: Thu, 4 Nov 1999 13:49:01 -0800
From: Bill Moseley <moseley@best.com>
Subject: Re: Special Problem
Message-Id: <MPG.128b9f2c718e120a989846@nntp1.ba.best.com>

Frank de Bot (debot@xs4all.nl) seems to say...
> I'll try to explain this as good as possible.
> 
> I've a perl script ( test.pl ) with some HTML anchors. is there a way to
> create a HTTP_REFERER that isn't indentical to the one the browser wants
> to give.

$ENV{HTTP_REFERER} = 'something else';

But this doesn't sound like a perl question.  And what ever it is you 
are trying to do with HTTP_REFERER probalby won't work.



-- 
Bill Moseley mailto:moseley@best.com
pls note the one line sig, not counting this one.


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

Date: Thu, 04 Nov 1999 21:07:41 GMT
From: "Ulf Lindehoff" <ulf.lindehoff@telia.com>
Subject: SV: FAQ 3.9: Is there an IDE or Windows Perl Editor?
Message-Id: <xAmU3.2033$i53.14528@newsc.telia.net>

Hi!

I recommend the Perl Builder from Solutionsoft
http://www.solutionsoft.com/perl.htm

Regards, Ulf

Tim Westlake <tim.westlakeNOtiSPAM@myremarq.com.invalid> skrev i
diskussionsgruppsmeddelandet:1415c574.d56ebebd@usw-ex0101-007.remarq.com...
> In article <7vd0dj$3ea$1@gellyfish.btinternet.com>, Jonathan Stowe
> <gellyfish@gellyfish.com> wrote:
>
> > No I dont think that we will -
>
> You might not, however the rest of the world doesnt just program in C,
> C++, PERL and Java. Being able to tailor an editor to support a
> different and not widely used language as well as the more popular ones
> is something that I spent a while trying to find.
>
> Tim
>
>
>
> * Sent from RemarQ http://www.remarq.com The Internet's Discussion Network
*
> The fastest and easiest way to search and participate in Usenet - Free!
>




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

Date: Thu, 04 Nov 1999 20:03:01 GMT
From: patelni101480@my-deja.com
Subject: Re: Using Perl on an NT Platform
Message-Id: <7vsopi$9dv$1@nnrp1.deja.com>

In article <7vpjrd$v7g$1@nnrp1.deja.com>,
  patelni101480@my-deja.com wrote:
> I am trying to get Perl to use the NT command called shutdown.  This
> command allows me to shutdown other computers on a network.  In Perl I
> know there is a command called system, that would let me use shutdown.
> But when I try to use it, it gives me all the different shutdown
> options, it won't actually shutdown the machine.  I can shutdown my
own
> local computer, but I can't shutdown other computers on a network.
> Anyone have any suggestions???
>
The code i am using is the following:

system ("shutdown \\computer name /C /Y /R");

And when i do it the same menu that comes up when you run shutdown /?
comes up.  But if I got rid of the computer name and did shutdown /L /C
/Y /R, it would work and shut my own computer down.
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>


Sent via Deja.com http://www.deja.com/
Before you buy.


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

Date: Thu, 04 Nov 1999 21:20:27 GMT
From: kragen@dnaco.net (Kragen Sitaker)
Subject: Re: Using Perl on an NT Platform
Message-Id: <vMmU3.28283$23.1497622@typ11.nn.bcandid.com>

In article <7vsopi$9dv$1@nnrp1.deja.com>,  <patelni101480@my-deja.com> wrote:
>In article <7vpjrd$v7g$1@nnrp1.deja.com>,
>  patelni101480@my-deja.com wrote:
>The code i am using is the following:
>
>system ("shutdown \\computer name /C /Y /R");
>
>And when i do it the same menu that comes up when you run shutdown /?
>comes up.  But if I got rid of the computer name and did shutdown /L /C
>/Y /R, it would work and shut my own computer down.

Someone answered your question yesterday on this thread.  Try print
with that same string.
-- 
<kragen@pobox.com>       Kragen Sitaker     <http://www.pobox.com/~kragen/>
Tue Nov 02 1999
6 days until the Internet stock bubble bursts on Monday, 1999-11-08.
<URL:http://www.pobox.com/~kragen/bubble.html>


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

Date: Thu, 4 Nov 1999 14:14:56 -0600
From: Rev. Meowatilla Al' Rashad <meowatilla@usenet-performance-art.org>
Subject: Re: Who is worse: Cops or Criminals
Message-Id: <7vspbb$n1p$3@nntpd.databasix.com>

In <941738579.513880@samba.news.big-orange.net>, PJ Brons wrote:
> What is Rev. standing for????????????????????
> Rev. Meowatilla Al' Rashad heeft geschreven in bericht
> <7vqq5m$8p0$2@nntpd.databasix.com>...
> >In <3820F510.46FE@night.com>, Jamin,CISOL wrote:
> >> JBP615 wrote:
> >> >
> 
> >I prove whatever half-facts I want, fuckhead.  But did I tell you you could
> get
> >your tongue out of my asshole and speak?  GET BACK TO WORK YOU LITTLE SHIT.
> >
> >This is your last warning.


I will not dignify this obvious troll with a response.


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

Date: 16 Sep 99 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin) 
Subject: Digest Administrivia (Last modified: 16 Sep 99)
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: The mail to news gateway, and thus the ability to submit articles
| through this service to the newsgroup, has been removed. I do not have
| time to individually vet each article to make sure that someone isn't
| abusing the service, and I no longer have any desire to waste my time
| dealing with the campus admins when some fool complains to them about an
| article that has come through the gateway instead of complaining
| to the source.

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 V9 Issue 1283
**************************************


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