[13539] in Perl-Users-Digest

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

Perl-Users Digest, Issue: 949 Volume: 9

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Thu Sep 30 07:07:31 1999

Date: Thu, 30 Sep 1999 04:05:10 -0700 (PDT)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Message-Id: <938689509-v9-i949@ruby.oce.orst.edu>
Content-Type: text

Perl-Users Digest           Thu, 30 Sep 1999     Volume: 9 Number: 949

Today's topics:
    Re: acos function jmn.ac.delete@abanet.it
    Re: acos function <rhomberg@ife.ee.ethz.ch>
        ANNOUNCE: XML::RSS 0.6 (Jonathan Eisenzopf)
    Re: Calling windows API through Perl? <carvdawg@patriot.net>
    Re: Can in UNIX, But How in Perl <rhomberg@ife.ee.ethz.ch>
        CGI call CGI? <bg25@mailexcite.com>
        debugger I/O redirect <cseeberg@sgi1.chemie.uni-hamburg.de>
    Re: Email Attachments <gellyfish@gellyfish.com>
        Expert question: wrapping a subroutine (Anno Siegel)
    Re: Expert question: wrapping a subroutine (Johan Vromans)
    Re: HELP! Clueless know-nothing asks a question <jeff@vpservices.com>
    Re: HELP! Clueless know-nothing asks a question <gellyfish@gellyfish.com>
    Re: How can I tell if something is already installed <sjohns17@uic.edu>
    Re: How can I tell if something is already installed <gellyfish@gellyfish.com>
        needs to export a variable in my environnement <tavril@my-deja.com>
    Re: newbie help: sorting multidimensional arrays <rhomberg@ife.ee.ethz.ch>
    Re: perl checksum code <sb@sdm.de>
    Re: Perl IDE for X (Matthew Bloch)
        Proble with chopped filenames from script <mgarbutt@ozland.com.au>
    Re: question: cgi-script on server a database on server <thorsten.muschler@uni-essen.de>
        TCP/IP timeout <pkotala@logis.cz>
    Re: testing <gellyfish@gellyfish.com>
    Re: Using multiple query strings (I.J. Garlick)
    Re: why use references - in laymans terms? (Anno Siegel)
    Re: why use references - in laymans terms? <gellyfish@gellyfish.com>
        Work At Home Contractual Positions Available <canon@fgi.net>
    Re: You should be admired, or What does this have to do <poohsticks@bonbon.net>
    Re: You should be admired, or What does this have to do <poohsticks@bonbon.net>
    Re: You should be admired, or What does this have to do <poohsticks@bonbon.net>
        Digest Administrivia (Last modified: 16 Sep 99) (Perl-Users-Digest Admin)

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

Date: 30 Sep 99 08:03:37 GMT
From: jmn.ac.delete@abanet.it
Subject: Re: acos function
Message-Id: <37f31959.0@etsv0008>


>> Has anyone a acos (cos-1, arccos) function for Perl.
>
>> I am lazy.
>
>You're obviously even too lazy to read the doc
>acos is in perldoc -f cos
>

This group is TESTY.

I read the docs. They say POSIX::acos. A discussion of why I don’t want to use the POSIX module will not be helpful.

As for laziness, hasn’t it been beatified by the Camel book? And anyway I am not that lazy; here is an acos function for anyone who might be interested.

John.

sub acos {
    # Polynomial approximation of acos
    # Error <= 2E-8
    #
    # C. Hastings, Jr., "Approximations for digital computers",
    # Princeton Univ. Press, 1955.

    my $x = shift @_;
    $a0 =   1.5707963050;
    $a1 =  -0.2145988016;
    $a2 =   0.0889789874;
    $a3 =  -0.0501743046;
    $a4 =   0.0308918810;
    $a5 =  -0.0170881256;
    $a6 =   0.0066700901;
    $a7 =  -0.0012624911;

    return (1-$x)**0.5 *($a0 
                         + $a1 * $x 
                         + $a2 * $x**2
                         + $a3 * $x**3 
                         + $a4 * $x**4 
                         + $a5 * $x**5 
                         + $a6 * $x**6 
                         + $a7 * $x**7
                        );
}



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

Date: Thu, 30 Sep 1999 12:04:40 +0200
From: Alex Rhomberg <rhomberg@ife.ee.ethz.ch>
Subject: Re: acos function
Message-Id: <37F335B8.568F52B7@ife.ee.ethz.ch>

jmn.ac.delete@abanet.it wrote:
> 
> >> Has anyone a acos (cos-1, arccos) function for Perl.
> >
> >> I am lazy.
> >
> >You're obviously even too lazy to read the doc
> >acos is in perldoc -f cos
> >
> 
> This group is TESTY.
> 
> I read the docs. They say POSIX::acos. A discussion of why I don?t want to 
> use the POSIX module will not be helpful.

were you too lazy to enter 'perldoc -f cos'? 
If you read the docs, did you read all *six* lines of it?
I'll paste them here for you and I'll even give you a hint: concentrate
on the last line

- Alex

beethoven:~% perldoc -f cos
cos EXPR

Returns the cosine of EXPR (expressed in radians).  If EXPR is omitted
takes cosine of $_.

For the inverse cosine operation, you may use the POSIX::acos()
function, or use this relation:

    sub acos { atan2( sqrt(1 - $_[0] * $_[0]), $_[0] ) }


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

Date: 30 Sep 99 06:40:59 GMT
From: eisen@pobox.com (Jonathan Eisenzopf)
Subject: ANNOUNCE: XML::RSS 0.6
Message-Id: <37F305FB.5635E7BD@pobox.com>

DLSI=adpO

This release fixes a a number of bugs thanks mostly
to Chris Nador's efforts.

This is an alpha release because the API has not been
finalized. The module will be available at your local
CPAN archive. Alternatively, try this URL:

http://www.perlxml.com/modules/XML-RSS-0.6.tar.gz

This Perl module provides a basic framework for creating and

maintaining Rich Site Summary (RSS) files. RSS is primarily
used for distributing news headlines, commonly called
channels, and is used primarily on Netscape's Netcenter,
http://my.netscape.com, and Userland Software's
http://my.userland.com.

More information on RSS can be found at:
http://my.netscape.com/publish/help/mnn20/quickstart.html

An article covering the use of the XML::RSS module
is available at http://www.motherofperl.com

John Udell has also written an excellent intro to RSS
which is available at:
http://www.byte.com/column/BYT19990916S0002

To learn more about the history and future of RSS,
check out Dave Winer's http://discuss.userland.com

Please send comments, flames, etc. to eisen@pobox.com.


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)




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

Date: Thu, 30 Sep 1999 05:57:39 -0400
From: "Harlan Carvey, CISSP" <carvdawg@patriot.net>
Subject: Re: Calling windows API through Perl?
Message-Id: <37F33413.45D153A7@patriot.net>

Depends upon which ones you want to call....

http://www.roth.net
Win32::ODBC
Win32::AdminMisc
Win32::Lanman (copy is there, Dave's not the author)
Win32::Perms

Dave also has a news server available for asking questions.

So, what else do you want?  Use PGP or Blowfish via Perl on Windows?

tiiger@my-deja.com wrote:

> I am trying call windows API functions throught Perl.
>
> How can I do it?
>
> Thanks....
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.



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

Date: Thu, 30 Sep 1999 10:07:00 +0200
From: Alex Rhomberg <rhomberg@ife.ee.ethz.ch>
Subject: Re: Can in UNIX, But How in Perl
Message-Id: <37F31A24.B76911E9@ife.ee.ethz.ch>

Abigail wrote:
> '' The same way:
> '' $_ = `cd */9181339`; chomp; chdir $_ or become_unhappy;
> 
> Uhm, in which shell is the output of cd the name of the new directory?
> 
> Perhaps you meant `ls */9181339` ?

Grunz. I meant to say
`cd  */9181339;pwd`
To get exactly the same command. My x windows copy must have swallowed
it :-)
- Alex


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

Date: Thu, 30 Sep 1999 10:05:17 +0200
From: Bangert Goldsmith <bg25@mailexcite.com>
Subject: CGI call CGI?
Message-Id: <HxnzN=XzdRVYNJ72u7FHa5xC9D8w@4ax.com>

Hi

  How can I call an CGI script from another CGI script, both in Perl?


  Thanks for any comment.

  
  BangG




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

Date: Thu, 30 Sep 1999 11:56:07 +0200
From: Christian Seeberger <cseeberg@sgi1.chemie.uni-hamburg.de>
Subject: debugger I/O redirect
Message-Id: <37F333B7.D75F8EB9@sgi1.chemie.uni-hamburg.de>

Hi there

How can I redirect the I/O (mainly the O) from the debugger ?? I have a
large hash and each time i dump it with 'X hash' it runs through the
screen. I know about '|X hash' but that is not what I need. Actually I
have two large hashes and need to compare them. So it would be nice to
dump them into separate files for further examination. Anny ideas on how
to do this ??

TIA

Christian
-- 
Christian Seeberger
cseeberg@sgi1.chemie.uni-hamburg.de


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

Date: 30 Sep 1999 09:17:01 +0100
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: Email Attachments
Message-Id: <37f31c7d_1@newsread3.dircon.co.uk>

Jeremy Bradshaw <xbradsjer@dtgnet.com> wrote:
> Hello,
> 
> I have a form written with Perl that sends emails with attachments.  Under
> Outlook 97 everything works great.  Under Outlook 98 the attachments come
> through, but without file extensions.  It looks like the MIME types may be
> different for Outlook 98???  A typical MIME type that I'm using is
> "Content-Type: application/pdf; name=filename.pdf".  If someone could please
> let me know what is wrong or point me towards a URL with more information, I
> would be very appreciative.
> 

Then its a problem with how you are making the MIME attachments.  If
you are not using a modukle like MIME::Lite then you should read the
appropriate RFC.  The differences in behaviour between two mail-clients
in the face of incorrect MIME headers is not a Perl question however.

/J\
-- 
"Enter the Great Jaffa Cakes Debate. In these jam-filled concoctions
were cakes they would escape VAT. Because they are soft and not hard,
they were deemed to be cakes and therefore VAT free. In 1974 Master of
the Universe asked the VAT tribunal to exempt him from VAT because he
is the Supreme Authority in the Universe and therefore should not pay
it. He lost his case" - BBC News Website


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

Date: 30 Sep 1999 08:51:05 -0000
From: anno4000@lublin.zrz.tu-berlin.de (Anno Siegel)
Subject: Expert question: wrapping a subroutine
Message-Id: <7sv89p$b8b$1@lublin.zrz.tu-berlin.de>

Abigail <abigail@delanet.com> wrote in comp.lang.perl.misc:
>Anno Siegel (anno4000@lublin.zrz.tu-berlin.de) wrote on MMCCXX September
>MCMXCIII in <URL:news:7ssrij$9kg$1@lublin.zrz.tu-berlin.de>:
>|| Abigail <abigail@delanet.com> wrote in comp.lang.perl.misc:
>||  
>|| >That doesn't work. All it does is *aliasing* &given_orig and &given. If
>|| >you then redefine &given, &given_orig changes as well (-w will issue a
>|| >warning). The above example leads to infinite recursion.
>|| 
>|| You are jumping to conclusions.  Have you run a test?
>
>
>Yes I did. And it lead to infinite recursion.

Experimentation shows that this hinges on whether the aliasing happens
at compile time vs. run time.  To wit:

BEGIN { *given_orig = \&given }

sub given { 
  ...
  given_orig();
  ...
}

calls the original function once, as intended.  On the other hand,

*given_orig = \&given;

sub given {
  ...
  given_orig()
  ...
}

recurses as you describe.  I'm not claiming to understand this.

Anno


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

Date: 30 Sep 1999 12:37:49 +0200
From: JVromans@Squirrel.nl (Johan Vromans)
Subject: Re: Expert question: wrapping a subroutine
Message-Id: <wl3so3wlm6a.fsf@plume.nl.compuware.com>

anno4000@lublin.zrz.tu-berlin.de (Anno Siegel) writes:

> Experimentation shows that this hinges on whether the aliasing happens
> at compile time vs. run time.  To wit:

Subroutine compilation is done at compile time as well. I think that's
why it matters.

-- Johan


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

Date: 30 Sep 1999 05:43:03 GMT
From: Jeff Zucker <jeff@vpservices.com>
Subject: Re: HELP! Clueless know-nothing asks a question
Message-Id: <37F2F6A1.DC86897D@vpservices.com>

I wrote previously:
> 
> "James E." wrote:
> >
> > Dear CGI gods and/or goddessess -
> 
> [my own bad advice snipped]

<gilda>never mind</gilda>

Duh, I missed the part of James' message that said this was all from
wwwboard by Matt Wright.  I since discovered that and have emailed James
privately to look for a better script and get advice in the .cgi group.

-- 
Jeff


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

Date: 30 Sep 1999 09:21:14 +0100
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: HELP! Clueless know-nothing asks a question
Message-Id: <37f31d7a_1@newsread3.dircon.co.uk>

James E. <jre@idirect.com> wrote:
> Dear CGI gods and/or goddessess -
> 
> I'm trying to get info from a file (wwwboard.out) to an HTML file
> (index.html).  In the index.html, I have <!--#exec cgi="getforum.pl"-->, and
> the file I'm executing is below:
> 
> #!/usr/local/bin/perl
> 
> open(FORUM,"wwwboard.out");
> 

Always test the success of a file open before you use the filehandle:

open(FORUM,"wwwboard.out") || die "could open - $!\n";

/J\
-- 
"Most big companies don't like you very much, except hotels, airlines
and Microsoft, which don't like you at all" - Bill Bryson


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

Date: Thu, 30 Sep 1999 02:07:34 -0500
From: Seth David Johnson <sjohns17@uic.edu>
Subject: Re: How can I tell if something is already installed
Message-Id: <Pine.A41.4.10.9909300203110.738536-100000@tigger.cc.uic.edu>

On Thu, 30 Sep 1999, Rhys Ronald Boswarva wrote:

> How can I tell if something is already installed on RedHat Linux.  i.e.
> mod_perl
> 
> I know Apache is installed. And I also know PERL 5.004_04 is installed
> 
> please help

man rpm (I am assuming you'd've installed the package), and don't post
this sort of thing here.

-Seth

p.s. There are also graphical package managers like gnorpm (I think), but
I've already wasted enough space on this NG with something non-Perl. I'm
not trying to be rude, but many readers don't appreciate the clutter.



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

Date: 30 Sep 1999 09:25:12 +0100
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: How can I tell if something is already installed
Message-Id: <37f31e68_1@newsread3.dircon.co.uk>

Rhys Ronald Boswarva <rhys@ottawa.com> wrote:
> How can I tell if something is already installed on RedHat Linux.  i.e.
> mod_perl
> 

You can tell with a command line switch to Apache - however this is a
question for another group ...

[followups set]

/J\
-- 
"The teenage masturbators of today are the television executives of
tomorrow" - Melissa Cabriolet, Drop the Dead Donkey


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

Date: Thu, 30 Sep 1999 08:58:28 GMT
From: thomas <tavril@my-deja.com>
Subject: needs to export a variable in my environnement
Message-Id: <7sv8nh$kca$1@nnrp1.deja.com>

Hello,

first of all, excuse my poor english...

Within a Perl script, I need to export a Variable. After the execution
of my script, the variable have to be visible from the shell which
called my Perl script.

How to do it ???

I did a
@args = ("ksh", "export FOO=bar");
system(@args);

it seems to work, yet I lost the FOO because it has been defined in a
sub-shell....

please help me !! ;-)

Thanks,
thom.


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


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

Date: Thu, 30 Sep 1999 10:41:53 +0200
From: Alex Rhomberg <rhomberg@ife.ee.ethz.ch>
Subject: Re: newbie help: sorting multidimensional arrays
Message-Id: <37F32251.685A33DE@ife.ee.ethz.ch>

Larry Rosler wrote:
> 
> In article <37F23FAA.B9926C88@ife.ee.ethz.ch> on Wed, 29 Sep 1999
> 18:34:50 +0200, Alex Rhomberg <rhomberg@ife.ee.ethz.ch> says...
> + Patrick Smith wrote:
> + > I'm kind of new to this. I need to know if there is a way to sort a
> + > multidimensional [10,5] array using the first element of each row as
> + > the sorted item and keeping the other 4 elements of the row in
> + > origional order together with the first element after having sorted
> + > all ten rows.
> + > All the elements will be numbers.
> +
> + 1. create a hash with the first element as key and a ref to the
> + original array entry as value. Preserve the order of the refs
> + 2. sort the hash keys
> + 3. for the sorted hash keys, give out the original contents in order
> +
> + my %th; #temporary hash
> +
> + @sortedarray = map {@{delete $th{$_}||[]}}
> +   sort
> +   map {push @{$th{$$_[0]}}, $_; $$_[0]} @a;
> 
> Yes.  But why bother with that?

Because I interpreted the post differently. He said he wanted to keep
the other elements in original order. My sort leaves lines with the same
first elements in the same relative order as they were in the original
array. Perhaps a strange interpretation, but this way it was
interesting, the other was too trivial :-)

Oh, and I didn't read the last line therefore
s/sort/sort{<=>}/;


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

Date: 30 Sep 1999 07:30:16 GMT
From: Steffen Beyer <sb@sdm.de>
Subject: Re: perl checksum code
Message-Id: <7sv3i8$ol7$1@solti3.sdm.de>

In article <37F26114.9D0FBA73@digizen.net>, Vince Wilding <vwilding@digizen.net> wrote:

> Looking for code to do a simple checksum.  Here's something I cobbled 
> together, but does anyone know of perl source for CRC or MD5?

RTFM - just "use MD5;" (download from CPAN)

-- 
    Steffen Beyer <sb@engelschall.com>
    http://www.engelschall.com/u/sb/whoami/
    http://www.engelschall.com/u/sb/download/
    http://www.perl.com/CPAN/authors/id/STBEY/


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

Date: Thu, 30 Sep 1999 08:08:55 GMT
From: mattbee@eh.org (Matthew Bloch)
Subject: Re: Perl IDE for X
Message-Id: <slrn7v65oa.mp.mattbee@soup-kitchen.demon.co.uk>

In article <37F2C2FF.C7B72BA3@csudh.edu>, Francisco Romero wrote:
>I rather use pico, it's easier.  I just want somthing that will make my life
>easier in hacking Perl.

Nobody seems to have mentioned lpe (look it up on freshmeat.net); it's
pico on steroids (it has syntax colouring) with aspirations to being emacs
(it has the beginnings of a list of silly keystrokes).

-- 
Matthew       ( http://www.soup-kitchen.demon.co.uk/ )




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

Date: Thu, 30 Sep 1999 16:47:58 +1000
From: Malcolm Garbutt <mgarbutt@ozland.com.au>
Subject: Proble with chopped filenames from script
Message-Id: <37F3079D.CBD5A1B6@ozland.com.au>

Hi,

I am using the script below to read a data file from within the script,
which works fine until the line it reads has a + or - or _ in it.

What this program does is it reads data from the __DATA__ area.  It
looks for a line starting with the word new and then reads the next line
and then uses that line (Has single word on it) as the name of a txt
file for which it puts all the following lines until it comes across the
next word of new.
Now the problem is that when it comes accross the 3 mentioned characters
(see above) in the first line (Filename to be) it will make a file
called a and b (See data below), where as I would like the line a+b to
be the file name, like the line bill would do.

============================================
#!/usr/local/bin/perl -w

use strict;

# redefine the end-of-line marker
# now every record is a line

$/ = "new\n";

while ( <DATA> ) {

        # remove the end-of-line chars and if the line has words on
        # it, get the first word for the filename

        chomp;
        if ( m/(\w+)/ ) {

                open ( OUT, ">./email/$1" ) ||
                        die "Could not open $1 for writing. $!.\n";
                print OUT;
                close ( OUT ) ||
                        die "Could not close $1 after writing. $!.\n";

        }

}

__DATA__
new
a+b
1003456  blah
2345678 more blah
(fun times)
new
super
123456 yeah
234567 more yeah



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

Date: Thu, 30 Sep 1999 12:44:30 +0200
From: "Thorsten Muschler" <thorsten.muschler@uni-essen.de>
Subject: Re: question: cgi-script on server a database on server b
Message-Id: <7sveui$svd$1@fu-berlin.de>

ok. thank you for your suggestions. thems to be that the
modifications of the script are to complicated for me.

i will change to a provider that provides more web-space.

bye
thorsten muschler


> Your old code apparently assumes urls.txt to be a file on a
> local filesystem.  You want urls.txt to be accessible via
> HTTP, which is *not* a filesystem despite the way it looks.
> You can't get do that without changing from a simple open()
> to the use of a Perl module which will speak the protocol
> needed.
>
> Look into LWP::Simple and LWP::UserAgent .  One of them
> may be what you want, since you apparently need to snag
> a webpage and then work with it.  You may also need to
> strip HTML tags out.  If so, you may need to use HTML::Parser
> [or else lynx].





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

Date: Thu, 30 Sep 1999 11:21:21 +0200
From: "Pavel Kotala" <pkotala@logis.cz>
Subject: TCP/IP timeout
Message-Id: <938683268.975791@gate.logis.cz>

Is there any way to set timeout for listening on TCP/IP (script should be
run on either unix and win32)?

I would like to listen on some port and if I would not get message in some
time, I would need to stop listening and return from procedure.

Thank for any help (if exists any)

Pavel Kotala




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

Date: 30 Sep 1999 09:18:22 +0100
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: testing
Message-Id: <37f31cce_1@newsread3.dircon.co.uk>

Mikael Eriksson <mikael.eriksson@utfors.se> wrote:
> 
> 

what is wrong with groups with test in their names ?  Do not do this.

/j\
-- 
"Over the years I've always had Max Factor in my box" - Tina Earnshaw,
Chief Make-Up Artist, Titanic


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

Date: Thu, 30 Sep 1999 08:14:02 GMT
From: ijg@connect.org.uk (I.J. Garlick)
To: "Donboy" <webmaster@roleplayinggames.net>
Subject: Re: Using multiple query strings
Message-Id: <FIv5JE.Ds5@csc.liv.ac.uk>

[courtesy cc mailed to original thread author]

In article <EXyI3.5566$xJ4.272031@newscontent-01.sprint.ca>,
"Vox" <v0xman@yahoo.com> writes:
> I've also been programming cgi with perl for about a couple of months now
> with no book but the tutorials on the net and pieces of other code put
> together.  I had this same problem not too long ago.
> 
> you don't need 'read(STDIN,$buffer,$ENV{'CONTENT_LENGTH'});' for query
> strings.  Also $buffer = "$buffer\&$ENV{'QUERY_STRING'}";  really is
> unnessary

-Vox

Gawddd no. Not again. Is some one breeding these idiots just to annoy us?

Never ever give a begginer you own hand roled version of this as there are
far better recommended ways of doing this.

-Donboy

> www.whatever.com/cgi-bin/script.cgi?&value1=something&value2=somethingelse
                                      ^
(BTW Vox was right about that first & though).

from your original post, to get value1 and value2 just do this.

	use CGI qw(:standard);

	$val1 = param('value1');
	$val2 = param('value2');

What could be easier? Far less typing, and error prone than your original
method, or Vox's (even if it does appear to work, for now.).

Also once you graduate to advanced stuff like multiple values for each
name, or file upload, your half way there as you are used to CGI.pm and it
already does this stuff for you.

(I couldn't find this in the FAQ's anyone know where it is?).

-- 
Ian J. Garlick
ijg@csc.liv.ac.uk

Executive ability is deciding quickly and getting somebody else to do
the work.
                -- John G. Pollard



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

Date: 30 Sep 1999 09:16:15 -0000
From: anno4000@lublin.zrz.tu-berlin.de (Anno Siegel)
Subject: Re: why use references - in laymans terms?
Message-Id: <7sv9ov$bam$1@lublin.zrz.tu-berlin.de>

Uri Guttman  <uri@sysarch.com> wrote in comp.lang.perl.misc:

>if you don't want to use references, go back to using perl4. (but only
>if you like flogging a flea bitten dead camel carcass)

Call me a pedant, but fleas don't bite dead animals.  How about
moth-eaten?

Anno


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

Date: 30 Sep 1999 11:21:58 +0100
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: why use references - in laymans terms?
Message-Id: <37f339c6_2@newsread3.dircon.co.uk>

Anno Siegel <anno4000@lublin.zrz.tu-berlin.de> wrote:
> Uri Guttman  <uri@sysarch.com> wrote in comp.lang.perl.misc:
> 
>>if you don't want to use references, go back to using perl4. (but only
>>if you like flogging a flea bitten dead camel carcass)
> 
> Call me a pedant, but fleas don't bite dead animals.  How about
> moth-eaten?
> 

Maybe it was bitten before it was dead ...

/J\
-- 
"Most big companies don't like you very much, except hotels, airlines
and Microsoft, which don't like you at all" - Bill Bryson


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

Date: Mon, 27 Sep 1999 15:22:33 -0500
From: <canon@fgi.net>
Subject: Work At Home Contractual Positions Available
Message-Id: <xDj9GWSC$GA.263@news1>

Seeking techs in all languages with moderate to expert experience.
Work at home as a Technical Support Telephone Operator. Set your
own hours and rates. You will be handling Pay Per Incident developer
and consumer software questions in direct competition with the
software manufacturers.

No Fault Policy:
If you do not know the answer to a caller's question, the caller will
not be charged and you will not be penalized or discharged.

For more information contact Mr. Gentry at canon@fgi.net




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

Date: Thu, 30 Sep 1999 02:03:49 +0100
From: Martin Fitzpatrick <poohsticks@bonbon.net>
Subject: Re: You should be admired, or What does this have to do with Perl?
Message-Id: <37F2B6F5.84A47C4@bonbon.net>



Tom Christiansen wrote:
> 
>      [courtesy cc of this posting mailed to cited author]
> 
> In comp.lang.perl.misc, Dan Woods <dwoods@ucalgary.ca> writes:
> :To be more specific (or clearer), I meant they aren't the easiest
> :ones to learn. They take time and experience to to "get it".
> 
> Yes, they do, and they don't pretend that they don't.  That's one of the
> nice things about them.  "Ease of long-term use" is far more important
> than "ease of proficiency within five minutes without R'ingTFM".
> 
> Those tools make no attempt to hoodwink the general public addicted to
> immediate gratifiation into mastery without a bit of scholarship and
> something like real work.
> 
> Just like Perl.

Ahh... the pain of proficiency, the late nights with the coffee, them
were the days...  So, are we all gonna start revelling in the wonders of
assembly language... :)... Much better than bloated things that are
around now...  If only some *time* was put into code... Yknow... Its
meant to be hard... There are meant to problems... Thats the *POINT*

And now, I will stop

Fitz ;)
-- 
Email: poohsticks@bonbon.net
ICQ#: 11077801
AOL/CServeIM: Flupert


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

Date: Thu, 30 Sep 1999 02:12:31 +0100
From: Martin Fitzpatrick <poohsticks@bonbon.net>
Subject: Re: You should be admired, or What does this have to do with Perl?
Message-Id: <37F2B8FF.1434B6CD@bonbon.net>



Uri Guttman wrote:
> 
> >>>>> "DW" == Dan Woods <dwoods@ucalgary.ca> writes:
> that hasn't happened yet. we rarely see new regulars here who can answer
> questions well. occasionally newbies or intermediates try and they tend
> to post bugs or worse. so the next generation hasn't matured yet (and
> who knwos if they will ever do that).

They're probably out there now, just it takes a while to filter into
newsgroups.  Lets face, if they're good at perl, they've probably got
something better to do than answer the kinda queries that annoy this
group :)....

 ...I dont think your a dying breed ;)
 
>   DW> P.S. thanks for taking the high road with your response, appreciated.
> 
> i can do it if i am in the mood. you didn't press my flame button.

Are you two getting kinky now?

Fitz

(yes, a newbie.. I mean, I can't even get a 4 line perl cgi to run
without crashing, but I wont bore your with the details :)

-- 
Email: poohsticks@bonbon.net
ICQ#: 11077801
AOL/CServeIM: Flupert


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

Date: Thu, 30 Sep 1999 02:56:13 +0100
From: Martin Fitzpatrick <poohsticks@bonbon.net>
Subject: Re: You should be admired, or What does this have to do with Perl?
Message-Id: <37F2C33D.595CE14A@bonbon.net>



Martin Fitzpatrick wrote:
> 
> (yes, a newbie.. I mean, I can't even get a 4 line perl cgi to run
> without crashing, but I wont bore your with the details :)

This problem which has taken me 5 hours to fix, turns out to be that I
mispelt 'usr' 'user' in the path thing at the top of the script.  Oh
well, at least I figured it out myself, ahh, the joy of learning
lessons...

(btw. I'm not a complete idiot, I can actually program in other
languages!! Perl just has a knack of turning me into an imbesile ;)...

Fitz

-- 
Email: poohsticks@bonbon.net
ICQ#: 11077801
AOL/CServeIM: Flupert


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

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


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