[12757] in Perl-Users-Digest

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

Perl-Users Digest, Issue: 167 Volume: 9

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Fri Jul 16 13:17:17 1999

Date: Fri, 16 Jul 1999 10:10:22 -0700 (PDT)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)

Perl-Users Digest           Fri, 16 Jul 1999     Volume: 9 Number: 167

Today's topics:
        IPC q: 2 procs running in parallel li@smart.net
    Re: Linux - Apache - Perl (JT)
    Re: My Foot Hurts <chris@inta.net.uk>
    Re: Newbie requires help in Perl please arpith@hotmail.com
    Re: Newbie requires help in Perl please arpith@hotmail.com
    Re: Newbie requires help in Perl please <chris@inta.net.uk>
        PDF-TXT <pols@army.net>
    Re: Perl Programmer Wanted ASAP - Great Rates $$$ (Tad McClellan)
    Re: Problem with MacPerl - thanks for help (Rich Morin)
        Problem: how can a CGI read files on another server? <scientia@XXXtechnologist.com>
    Re: Remove leading zeros from a string (Bill Cox)
    Re: Remove leading zeros from a string <scott@salmon.ltd.uk>
    Re: Remove leading zeros from a string <travis.cox@itron.com>
    Re: Resolution <scott@salmon.ltd.uk>
    Re: Resolution <madebeer@igc.apc.org>
    Re: set up hash using variables not yet defined <uri@sysarch.com>
        Symbolic Link problem <arodde@my-deja.com>
    Re: Tiny error in perlfaq5 (Bart Lateur)
    Re: Tiny error in perlfaq5 (Bart Lateur)
    Re: Tiny error in perlfaq5 (John Stanley)
        UPS Rate Calculator? Have you programmed for it? <willidog@hotmail.com>
    Re: using slices in a hash of a hash <uri@sysarch.com>
        What does this error message mean? <eric@astro.wesleyan.edu>
        Where to start with perl programming ? arpith@hotmail.com
        Digest Administrivia (Last modified: 1 Jul 99) (Perl-Users-Digest Admin)

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

Date: Fri, 16 Jul 1999 16:21:04 GMT
From: li@smart.net
Subject: IPC q: 2 procs running in parallel
Message-Id: <7mnm51$jo3$1@nnrp1.deja.com>

Hi,

What I try to do is start a long process in a perl script (say rcp a
large file) and then,while this process is running, print somehow to
STDOUT a "progressing bar" (dots) to let the user know that the rcp'ing
is still alive.  The problem is that I want also to check the error
status of the rcp process when is finished.

This situation is pretty common, but I couldn't find all the pieces of
information to put this to work (searched FAQ8, perlipc, camel and ram
books, but all I can find is for slightly different problems that
the one that I have...).

I tried to start the rcp'ing in bg (system("rcp..... &")).  To get the
errno back from system command I go in a loop, print my dots and check
in the same time if the process is finished. The problem is: how do I
get the pid of the rcp process so that I could then check to see if is
finished by sending 0 signal to it.  Even if I could do that, and I
check $? when rcp finishes, can I be sure that the value stored there is
from the rcp process (since I don't run others)?


I guess I make the whole thing too complicated and there is a nice
solution to it, but I just don't seem to have the knowledge to find it.


Thanks a million for your help,

vlad


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.


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

Date: Fri, 16 Jul 1999 15:41:35 GMT
From: jett1not@homedot.com (JT)
Subject: Re: Linux - Apache - Perl
Message-Id: <37964dda.86727328@24.2.0.71>

On 16 Jul 1999 13:54:17 GMT, fl_aggie@thepentagon.com (I R A Aggie)
wrote:

>On Fri, 16 Jul 1999 11:40:44 GMT, JT <jett1not@homedot.com>, in
><37921821.72972188@24.2.0.71> wrote:
>
>+ I agree with you, but if it's a question that can be easily answered
>+ in a one-liner, what's the huge deal?
>
>Because then he'll be back for another question. Perhaps that one will
>take a paragraph. Then he'll be back for another, and maybe that one
>will require a short essay. Then he'll be back, and this time it will
>require a small book.
>
>Where do *you* draw the line?
>
>Pointing them to the appropriate newsgroup sans answer is useful for
>other reasons: there will be a better probability of finding someone
>there who *can* answer *correctly*.
>
>+ If anyone's gonna bother
>+ replying, why not throw in the answer along with "Read the FAQ, or
>+ RTFM". That way the poster would learn 2 things.
>
>Because it would also reward the poster for inappropiate laziness, and
>unchecked, might lead to inappropriate hubris.
>
>James

Well, what you wish for is a perfect usenet which doesn't exist.
Policing and reprimanding off-topic posters is to treat them as
children. Being deliberately non-helpful is not my style. If it works
for you that's fine, but why waste the time even scolding these
posters, why not just boycott them entirely until they go away?

It sounds like a bit of a power trip on your part judging from your
selection of words such as "reward" and "inappropriate hubris". Let's
face it, it's not the most gratifying part of most folks' day to get
helpful responses or support from a newsgroup. Waving experience over
your head by telling people to "Read the FAQ" with no further
explanation, is just plain bullshit. I fail to see how it presents
such a problem for you to simply ignore these newbies, and allow
someone else to help answer their question. The people who are
in-the-know don't need to humiliate and insult the people who are
trying to learn. 

What makes it right for you to set a threshold to the level of
ignorance a poster may have.? Is it okay if I ask a question that
makes you think but not if I ask a common "frequently asked question"?
Now *that* is a double standard.
-JT

Remove the "not" and delete the "dot" to reply
jett1not@homedot.com


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

Date: Fri, 16 Jul 1999 16:20:14 +0100
From: "Chris Denman" <chris@inta.net.uk>
Subject: Re: My Foot Hurts
Message-Id: <7mnipe$2osg$1@news2.vas-net.net>

It could be something to do with posture.  I find that going to sleep
relieves pain.  But there is more than one way to solve this problem.  Maybe
if you unstrap that attached boulder, relief could shortly follow.


Don Coyote wrote in message ...
>
>Hi,
>
>My left foot hurts, I've read the FAQ and tried switches -t & -w but
>nothing seems to work.
>
>BTW, I did buy a cheap pair of shoes a few days ago and have done a lot
>of walking in them but I can't see how that relates to Perl?
>
>Any help would be appreciated
>
>Thanks, Coyote
>--
>Don Coyote




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

Date: Fri, 16 Jul 1999 15:31:50 GMT
From: arpith@hotmail.com
Subject: Re: Newbie requires help in Perl please
Message-Id: <7mnj96$ifh$1@nnrp1.deja.com>

Phew,

atlast I'm getting somewhere :)

> Well, maybe I'm not quite understanding at the moment, but getting
> commandline arguments into the program is simple. By starting the
> program as:
>
> perl file.pl arg1 arg2 arg3
>
> > perl file.pl?title=asdasdsd&url=http:L///asd/etc
>
> This packing of command-line arguments is the CGI way, and is of no
> use if you are building a stand-alone program.

No, I am trying to make pl programs for CGI... :) So how would I go
about passing the "title", "url" etc to the perl script ? The above
doesn't seem to be working...

Yup, I will try the book !

> Installing a Unix version to learn perl is certainly not necessary,

What about, if I want to get into CGI ? Will I need Unix then ? Where
can I get Unix then ?

> however bying a Linux or FreeBSD CD is cheap, this can be installed in
> addition to Win32, so you can the best of both worlds.

I think I have Linux on a CD, but do I need Unix for real CGI
programming ?

Thanks,

Arpith.


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.


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

Date: Fri, 16 Jul 1999 15:46:41 GMT
From: arpith@hotmail.com
Subject: Re: Newbie requires help in Perl please
Message-Id: <7mnk4s$is1$1@nnrp1.deja.com>

In article <7mnfva$2nlp$1@news2.vas-net.net>,
  "Chris Denman" <chris@inta.net.uk> wrote:
> Try OMNIHTTPD by OMNICRON at http://www.omnicron.ab.ca/
>
> Omnicron is a http server for windows95.  Once it is running the
browser
> sees your machine as just another web server.  It runs from your local
IP

Okay, then I'll install the Http server. But the pl scripts that it will
be able to execute will be only Win32 scripts right ?

So I may not be able to run Unix pl scripts or access Unix commands, and
my pl scripts may not work under unix right ? because, right now, I'm
working with free pl scripts found on the 'net, most of them require
Unix to run on. So is there any work around ?

Thanks,
Arpith


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.


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

Date: Fri, 16 Jul 1999 17:41:10 +0100
From: "Chris Denman" <chris@inta.net.uk>
Subject: Re: Newbie requires help in Perl please
Message-Id: <7mnnh4$2qt0$1@news2.vas-net.net>

perl should be platform independant.

with a small amount of tweaking, all perl should work accross any platform.

I agree that if you need specific unix commands then this would be a problem
on a win32 platform, but you can normally find win32 versions of these
commands around the web.

flock has problems on windows95 systems, and there are a few slash quirks to
get your head around.

I have many scripts that run on both systems without problems.

The other alternative would be to get a cheap PC and install unix.  Network
them together and bingo!

HTH

Chris Denman


arpith@hotmail.com wrote in message <7mnk4s$is1$1@nnrp1.deja.com>...
>In article <7mnfva$2nlp$1@news2.vas-net.net>,
>  "Chris Denman" <chris@inta.net.uk> wrote:
>> Try OMNIHTTPD by OMNICRON at http://www.omnicron.ab.ca/
>>
>> Omnicron is a http server for windows95.  Once it is running the
>browser
>> sees your machine as just another web server.  It runs from your local
>IP
>
>Okay, then I'll install the Http server. But the pl scripts that it will
>be able to execute will be only Win32 scripts right ?
>
>So I may not be able to run Unix pl scripts or access Unix commands, and
>my pl scripts may not work under unix right ? because, right now, I'm
>working with free pl scripts found on the 'net, most of them require
>Unix to run on. So is there any work around ?
>
>Thanks,
>Arpith
>
>
>Sent via Deja.com http://www.deja.com/
>Share what you know. Learn what you don't.




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

Date: Fri, 16 Jul 1999 17:34:48 +0200
From: "Pawel Szymanski" <pols@army.net>
Subject: PDF-TXT
Message-Id: <7mnjdv$mpq$1@oceanite.cybercable.fr>

do you know the programs able to convert PDF files into TXT files?





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

Date: Fri, 16 Jul 1999 05:14:53 -0400
From: tadmc@metronet.com (Tad McClellan)
Subject: Re: Perl Programmer Wanted ASAP - Great Rates $$$
Message-Id: <d6tmm7.lin.ln@magna.metronet.com>

Ronald J Kimball (rjk@linguist.dartmouth.edu) wrote:
: The Main Man <webmaster@accessx.com> wrote:

: > We are in need for a Perl Programmer to work on a variery of exciting
: > new projects in the adult entertainment biz.
:                       ^^^^^^^^^^^^^^^^^^^

: > Candidate must have own equipment and be ok to work on his/her own and
:             ^^^^^^^^^^^^^^^^^^^^^^^              ^^^^^^^^^^^^^^^^^^^
: > to strict deadlines.


: Well, I have my own equipment, and I often work on my own, if you get
: what I mean...


   Oh no! The marketers have hit on yet another ploy.

   Pretend to advertise for programmers, but really get more 
   customers instead, with much less flamage than would normally
   be gotten had they just advertised for customers in a programming
   newsgroup in the first place.

   Those guys (and gals) are crafty!


--
    Tad McClellan                          SGML Consulting
    tadmc@metronet.com                     Perl programming
    Fort Worth, Texas


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

Date: 16 Jul 1999 08:12:48 PDT
From: rdm@cfcl.com (Rich Morin)
Subject: Re: Problem with MacPerl - thanks for help
Message-Id: <rdm-1607990813030001@205.158.144.205>

In article <7ml3hc$q3o@pmgm.Stanford.EDU>, gcavet@pmgm.Stanford.EDU (Guy
Cavet) wrote:

> Big thanks to Chris Nandor and Paul Schinder for their help.  
> 
> The MacPerl FAQ was also useful.

The MacPerl Pages (http://www.macperl.com) are the definitive (IMNSHO)
resource for MacPerliana.

-r

-- 
Canta Forda Computer Laboratory       | Prime Time Freeware - quality 
UNIX consulting, training, & writing  | freeware at affordable prices
+1 650-873-7841                       | +1 408-433-9662   -0727 (Fax)
Rich Morin, rdm@cfcl.com              | www.ptf.com, info@ptf.com


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

Date: Fri, 16 Jul 1999 15:27:12 -0700
From: Scientia <scientia@XXXtechnologist.com>
Subject: Problem: how can a CGI read files on another server?
Message-Id: <378FB1C0.4058@XXXtechnologist.com>

Problem: how can a CGI read files on another server?

Hello

I have this problem.

I have different domains on different servers.
Different files with different informations are on each domain.

Now, I would like to use a single CGI on one domain to check
if specific files exist also on the other domains, but I am not able
to do that:
as far as I know, a CGI that is running on one server is able
to read files only in its own domain.
For example:
open (INFILE, "directory/subdir/namefile.txt")  does work
but
open (INFILE, "http://www.otherdomain.net/directory/subdir/file.txt")
does not work!

Of course I am not looking for suggestions like
"transfer all your files on all your servers" or
"make many forms, one for each server".
I need a technical solution that allows my CGI to read also
files on other domains.

The visitor would find a field:
FILE TO SEARCH
and then a "select" or "radio button" option
in order to choose between different domains:
CHOOSE DOMAIN WHERE TO SEARCH
and this would be done with a single CGI!

But if the CGI is on one server, it can't read or check
if files exist in the other servers...

How can I solve this problem?

Fabrizio
scientia@technologist.com


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

Date: Fri, 16 Jul 1999 15:09:25 GMT
From: bilcox@unx.sas.com (Bill Cox)
Subject: Re: Remove leading zeros from a string
Message-Id: <378f4a1f.1902623868@newshost.unx.sas.com>


Why not just use a reg exp to remove zeros.

$n = '000001234';
$n =~ s/^0+//g;


>Hi,
>
>I have a string, such as '00001234'.  All I want to do is remove the leading
>zeros.  The length of the string can vary, so I can't just chop off the
>first n characters.
>
>Can anyone help, or point me in the right direction.  If it's in perldoc,
>then I can't find it!
>
>Thanks in advance,
>
>Simon
>



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

Date: Fri, 16 Jul 1999 17:22:57 +0100
From: "Scott Pritchett" <scott@salmon.ltd.uk>
Subject: Re: Remove leading zeros from a string
Message-Id: <7mnm4r$bnn$1@lure.pipex.net>


Simon Kerr <skerr@ryder.co.uk> wrote in message
news:378f29b3.0@nnrp1.news.uk.psi.net...
> Hi,
>
> I have a string, such as '00001234'.  All I want to do is remove the
leading
> zeros.  The length of the string can vary, so I can't just chop off the
> first n characters.
>

We had a similar problem with a string '07,5,10,06' where we had to remove
the leading
zeroes from each number and stick them in an array, we came up with :-

$x='07,5,10,06';
@list=unpack("I*",pack("I*",(split/,/,$x)));
print "@list\n";

------
However to to it once you may try
$x=~s/^0+//    # TMTOWTDI
or
$x+=0

Scott





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

Date: Fri, 16 Jul 1999 09:29:31 -0700
From: "TravisC" <travis.cox@itron.com>
Subject: Re: Remove leading zeros from a string
Message-Id: <7mnmb3$e3d$1@bayer.itron.com>

Try this;
$var = '00001234';
$rem = 1 * $var;
$rem should now contain just 1234
Simon Kerr wrote in message <378f29b3.0@nnrp1.news.uk.psi.net>...
>Hi,
>
>I have a string, such as '00001234'.  All I want to do is remove the
leading
>zeros.  The length of the string can vary, so I can't just chop off the
>first n characters.
>
>Can anyone help, or point me in the right direction.  If it's in perldoc,
>then I can't find it!
>
>Thanks in advance,
>
>Simon
>
>




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

Date: Fri, 16 Jul 1999 17:13:07 +0100
From: "Scott Pritchett" <scott@salmon.ltd.uk>
Subject: Re: Resolution
Message-Id: <7mnlid$b5f$1@lure.pipex.net>


elephant <e-lephant@b-igpond.com> wrote in message
news:MPG.11f9df85da3293c7989b40@news-server...
> Scott Pritchett writes ..
> >I need to get Perl to resolve this reference, my code which does not work
is
> >:-
>
> try
>
>   print eval('"' . $_ . '"');
>
> which tells perl to evaluate the string "$::sp is good" and then print
> the resulting string

This results in :
Bareword found where operator expected at (eval 1) line 1, near "$::sp is"
(Missing operator before is?)
Use of uninitialized value at test.pl line 7, <IN> chunk 1.

However:-
print eval{("" . $_ . "")};
prints '$::sp is good' not quite right yet.
Did I do it wrong?





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

Date: Fri, 16 Jul 1999 09:39:10 -0700 (PDT)
From: Michael de Beer <madebeer@igc.apc.org>
Subject: Re: Resolution
Message-Id: <APC&1'0'50775d94'9ca@igc.apc.org>

What you want to do is still a little unclear to me.  
I think you're looking for
  
http://language.perl.com/newdocs/pod/perlfaq4.html#How_can_I_expand_variables_in_te

-Michael

BTW, ignore the random index.html's sprinkled through the perlfaq.
Someone messed up a search and replace, I guess.




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

Date: 16 Jul 1999 11:37:28 -0400
From: Uri Guttman <uri@sysarch.com>
Subject: Re: set up hash using variables not yet defined
Message-Id: <x7hfn4li6f.fsf@home.sysarch.com>

>>>>> "CMA" == Christian M Aranda <christianarandaOUT@OUTyahoo.com> writes:

  >> Obvious suggestion, I know, but why don't you put this in a subroutine,
  >> and call it whenever the variables DO mean something ?

  CMA> It was late and I guess I was over thinking the problem.  What is the
  CMA> overhead in allocating a hash every time I need the values from it?

you are still overthinking. gawd, that must hurt! only initialize it
once after its values have meaning. this can be done with a flag or a
test so see if the hash is empty or sub called when the variables are
set, etc.

initializing each time you need it is a waste of good electrons.

uri

-- 
Uri Guttman  -----------------  SYStems ARCHitecture and Software Engineering
uri@sysarch.com  ---------------------------  Perl, Internet, UNIX Consulting
Have Perl, Will Travel  -----------------------------  http://www.sysarch.com
The Best Search Engine on the Net -------------  http://www.northernlight.com
"F**king Windows 98", said the general in South Park before shooting Bill.


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

Date: Fri, 16 Jul 1999 16:54:58 GMT
From: Aaron <arodde@my-deja.com>
Subject: Symbolic Link problem
Message-Id: <7mno4q$kk1$1@nnrp1.deja.com>

Problem:
Let's say a 'testdir' link exists in /usr/local/userx/ and links
to /u05/sectionX/test :

% pwd
/usr/local/userx

the link is like this:
testdir -> /u05/sectionX/test

Currently in the userx dir and chdir testdir.
pwd results in /usr/local/userx/testdir
If I run a Perl script in that directory and try to get the current
working directory I get /u05/sectionX/test.  I lost my link info!!!
and it's the link path that I need.  Is there a way around this?

I believe this is caused by Perl creating it's own "shell" when it's
executed.  The same scenario will happen if you chdir into a link dir
and start a new shell - the current working directory becomes the
actual hard path and the link path is lost.

thanx


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.


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

Date: Fri, 16 Jul 1999 16:17:49 GMT
From: bart.lateur@skynet.be (Bart Lateur)
Subject: Re: Tiny error in perlfaq5
Message-Id: <378f5af9.314720@news.skynet.be>

John Stanley wrote:

>>irrespective of the value of x (err.. if x is nonzero and not otherwise silly).
>
>As of 5.005_something, rand(x) tests for x=0 and uses x=1;

Oh no!

rand() is supposed to be >=0, but <1.

Tell me you're joking.

	Bart.


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

Date: Fri, 16 Jul 1999 16:44:40 GMT
From: bart.lateur@skynet.be (Bart Lateur)
Subject: Re: Tiny error in perlfaq5
Message-Id: <37906103.733578@news.skynet.be>

John Borwick wrote:

>The code $hits = int( (time() - 850_000_000) / rand(1_000) );
>will occasionally generate a division by zero error.

So fix it.

	$hits = int((time() - 850_000_000) / (1_000 * (1-rand)));


BTW what's the use of rand(EXPR), if it gives a result that is exactly
the same as EXPR*rand?

	Bart.


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

Date: 16 Jul 1999 16:51:16 GMT
From: stanley@skyking.OCE.ORST.EDU (John Stanley)
Subject: Re: Tiny error in perlfaq5
Message-Id: <7mnnu4$7j6$1@news.NERO.NET>

In article <378f5af9.314720@news.skynet.be>,
Bart Lateur <bart.lateur@skynet.be> wrote:
>John Stanley wrote:
>>>irrespective of the value of x (err.. if x is nonzero and not otherwise silly).
>>
>>As of 5.005_something, rand(x) tests for x=0 and uses x=1;
>
>Oh no!
>
>rand() is supposed to be >=0, but <1.
>
>Tell me you're joking.

??? 

You could look at the code yourself to see. It is, after all, open
source. But I don't see where what I said has anything to do with what 
rand() returns, only what rand(0) returns. When the parameter to the
funtion is 0, 1 is used instead. I suppose that is because "rand(0)"
would otherwise always return 0 and that isn't a very random sequence at
all.



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

Date: 16 Jul 1999 12:47:44 -0500
From: "will Hannigan" <willidog@hotmail.com>
Subject: UPS Rate Calculator? Have you programmed for it?
Message-Id: <378f6230@discussions>


If anyone has had any success writing the cgi code to interface 
with the UPS Quick Cost Calculator, please let me know...I can 
connect to and open the scoket no problem, but the datareturned 
is not what is expected...

--Posted from EarthWeb Discussions. http://discussions.earthweb.com



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

Date: 16 Jul 1999 11:17:52 -0400
From: Uri Guttman <uri@sysarch.com>
Subject: Re: using slices in a hash of a hash
Message-Id: <x7pv1slj33.fsf@home.sysarch.com>

>>>>> "SS" == S Starre <sstarre@my-deja.com> writes:

  >> Not quite.  You want to take a slice of the hash that $h{$_} is a
  >> reference to.  So simply plug the reference into where the hash name
  >> would normally go:
  >> 
  >> @{ $h{$_} }{ @names } = @thelist;

  SS> Wow I was so close! I'm not entirely sure of why @h{$_} has to be
  SS> coerced into being a list however, as it seems that it already is one.

but there is no mention of @h{$_} anywhere.

  SS>  I'm going to try @h{@{$_}} - now that oughtta work too? Fun stuff.

again, that makes sense only if $_ is an array ref. is it in this code?

  >> perldoc perlfaq4

  SS> Roger wilco dude.. Going there now.

and for more about perl data structures read perllol and perldsc.

uri

-- 
Uri Guttman  -----------------  SYStems ARCHitecture and Software Engineering
uri@sysarch.com  ---------------------------  Perl, Internet, UNIX Consulting
Have Perl, Will Travel  -----------------------------  http://www.sysarch.com
The Best Search Engine on the Net -------------  http://www.northernlight.com
"F**king Windows 98", said the general in South Park before shooting Bill.


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

Date: Fri, 16 Jul 1999 11:12:11 -0400
From: Eric Williams <eric@astro.wesleyan.edu>
To: eric@astro.wesleyan.edu
Subject: What does this error message mean?
Message-Id: <378F4BBD.45B459B5@astro.wesleyan.edu>

I am trying to compile Perl 5.005.03 on Solaris 2.4. I have GCC 2.8.1
installed and ran Configure -d -Dcc=gcc. 
All seems fine but when I next run make it crashes during the miniperl
stage with this error:

make: Warning: Both `makefile' and `Makefile' exist
`sh  cflags libperl.a miniperlmain.o`  miniperlmain.c
          CCCMD =  gcc -DPERL_CORE -c -I/usr/local/include -O   
In file included from perl.h:1531,
                 from miniperlmain.c:11:
/usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.8.1/include/math.h:5:
math.h: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `miniperlmain.o'

1) Are there really supposed to be a makefile and a Makefile?
2) If not which should I get rid of and why did they get created?
3) If so why is there a warning about it?
4) The file
/usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.8.1/include/math.h DOES
exist on my system?! Why the error and the crash?

Thanks for any help and/or suggestion! 
------------
Eric Williams                             Van Vleck Observatory
eric@astro.wesleyan.edu                   Wesleyan University
(860) 685-3664                            Middletown, CT 06459
http://www.astro.wesleyan.edu
------------
What the Microsoft slogan really means to say is: 
"Where do you want to go today? 
It doesn't matter...your coming with us." - as seen on the web.



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

Date: Fri, 16 Jul 1999 15:14:36 GMT
From: arpith@hotmail.com
Subject: Where to start with perl programming ?
Message-Id: <7mni8g$hv0$1@nnrp1.deja.com>

Hi,

Hopefully you can help.. I am new to perl and I want to learn it,
I am right now learning by examples, but I need some sort of server
to run the scripts.

I have no access to CGI hosting webservers. Can I run the scripts
on my home computer ?

Like can I get a free web server, install it on my Win95, and use
that to run the scripts ? or do I need something else to run it ?

What webserver would you recommend ? where can I find more help ?

Or do you recommend I install some Unix clone or something like
that so that I can run unix pl scripts ?

I really need help starting out and am really lost!
so could you help out please ? Any help will be appreciated.

Thanks,

Arpith.


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.


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

Date: 1 Jul 99 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin) 
Subject: Digest Administrivia (Last modified: 1 Jul 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.  

To submit articles to comp.lang.perl.misc (and this Digest), send your
article to perl-users@ruby.oce.orst.edu.

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.

The Meta-FAQ, an article containing information about the FAQ, is
available by requesting "send perl-users meta-faq". The real FAQ, as it
appeared last in the newsgroup, can be retrieved with the request "send
perl-users FAQ". Due to their sizes, neither the Meta-FAQ nor the FAQ
are included in the digest.

The "mini-FAQ", which is an updated version of the Meta-FAQ, is
available by requesting "send perl-users mini-faq". It appears twice
weekly in the group, but is not distributed in the digest.

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


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