[6823] in Perl-Users-Digest

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

Perl-Users Digest, Issue: 448 Volume: 8

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Wed May 7 22:07:10 1997

Date: Wed, 7 May 97 19:00:22 -0700
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)

Perl-Users Digest           Wed, 7 May 1997     Volume: 8 Number: 448

Today's topics:
     "Bad free() ..." message from perl v4.036 (Earl Hood)
     Re: "Bad free() ..." message from perl v4.036 (I R A Aggie)
     Re: "Bad free() ..." message from perl v4.036 (Kent Perrier)
     $$$ for helping me with my Perl questions!!! (SteveK)
     Re: > 2GB "file too large", AIX 4.2, perl 5.001, not "u (Kent Perrier)
     Re: absolute novice - help me start <zonycat@flash.net>
     Re: absolute novice - help me start <zonycat@flash.net>
     Anyone needs Perl programmer? <twkoh8@pc.jaring.my>
     Re: bad name for good idea: comp.lang.perl.moderated (w (Dylan Northrup)
     Dates (Robert Saunders)
     Re: Dates <dsonak@us.oracle.com>
     Re: FTP support in perl (A. Deckers)
     Re: How can I email with Perl on NT using Blat (Parillo)
     Re: IlyaZ OS2 perl and PDKshell (Ilya Zakharevich)
     Re: New Perl programmer in need of tutorials <zonycat@flash.net>
     Re: Perl auto-replier (Parillo)
     Re: Perl CORBA IIOP module? <stephen+usenet@farrell.org>
     Re: Perl debugger limitation... (Ilya Zakharevich)
     Reading a text file backwards (bottom to top) (Robert Maguire)
     Request for simple text file handling program <cindyrutherfurd@linkonline.net>
     Show variables during debug?? Debuggers in general. <admiral@eng.sun.com>
     Split simple ? (Geoffrey Hebert)
     Re: Trouble with Emacs auto formatter (Ilya Zakharevich)
     Re: Urgent: Need help with web site design for a class  (David Alan Black)
     uuencode? silver@silverbergcom.com
     What is the rationale for this calling convention? (Terrence M. Brannon)
     Where do I get PERL? <wwyatt@alltel.net>
     Digest Administrivia (Last modified: 8 Mar 97) (Perl-Users-Digest Admin)

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

Date: 7 May 1997 22:14:46 GMT
From: ehood@medusa.acs.uci.edu (Earl Hood)
Subject: "Bad free() ..." message from perl v4.036
Message-Id: <5kqusm$9ij@news.service.uci.edu>

I have program that is desigend to run under perl 4 and 5.
when doing a run under perl 4.036 on the following messages:

Bad free() ignored at /users/asc/ehood/bin/mhonarc line 972.
Bad free() ignored at /users/asc/ehood/bin/mhonarc line 972.

Apparently, execution of my program is not disrupted, but
I am curious if the message can be a symptom of some lurking
problem.  Also, what conditions must exist for this message
to get generated.

(Note: No messages from Perl 5)

	--ewh
-- 
             Earl Hood              | University of California: Irvine
      ehood@medusa.acs.uci.edu      |      Electronic Loiterer
http://www.oac.uci.edu/indiv/ehood/ | Dabbler of SGML/WWW/Perl/MIME


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

Date: Wed, 07 May 1997 18:27:58 -0500
From: fl_aggie@hotmail.com (I R A Aggie)
Subject: Re: "Bad free() ..." message from perl v4.036
Message-Id: <fl_aggie-ya02408000R0705971827580001@news.fsu.edu>

In article <5kqusm$9ij@news.service.uci.edu>, ehood@medusa.acs.uci.edu
(Earl Hood) wrote:

+ I have program that is desigend to run under perl 4 and 5.

Ummm...why? the local phrase is:

 Perl, v4 is a dead, flea-bitten, camel carcas.

James

-- 
Consulting Minister for Consultants, DNRC

To cure your perl CGI problems, please look at:
<url:http://www.perl.com/perl/faq/idiots-guide.html>


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

Date: 07 May 1997 18:54:54 -0500
From: kperrier@Starbase.NeoSoft.COM (Kent Perrier)
Subject: Re: "Bad free() ..." message from perl v4.036
Message-Id: <cs207ialdd.fsf@Starbase.NeoSoft.COM>

In article <5kqusm$9ij@news.service.uci.edu> 
ehood@medusa.acs.uci.edu (Earl Hood) writes:

>
>(Note: No messages from Perl 5)

Then why are you running it under perl4?  

Kent
-- 
Kent Perrier           If Bill Clinton is the answer, then it must
kperrier@neosoft.com    have been a really stupid question.
Corporations don't have opinions, people do.  These are mine.
PGP 2.6 Public Key available by request and on key servers
PGP encrypted mail preferred!



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

Date: Wed, 07 May 1997 22:44:11 GMT
From: ko@mail.sdsu.edu (SteveK)
Subject: $$$ for helping me with my Perl questions!!!
Message-Id: <337102ef.24287341@news.sannet.gov>

I consult the FAQs, my Perl books, the Web, and this newsgroup...
but it takes too much of my time.

So...I'm looking for an experienced Perl programmer who I can
periodically email questions or source code to for help, debugging,
or generally good structure of code.

If interested, please email me back.  Tell me a little about your 
experience. It will also be helpful if you have some experience
dealing with security and database queries.

I can't pay a whole lot, but if you've been helping people in this
group for free, at least now you can get a little cash back.

Steve


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

Date: 07 May 1997 18:53:04 -0500
From: kperrier@Starbase.NeoSoft.COM (Kent Perrier)
Subject: Re: > 2GB "file too large", AIX 4.2, perl 5.001, not "ulimit"
Message-Id: <cs3eryalgf.fsf@Starbase.NeoSoft.COM>

In article <5kq7u4$h4e@nike.volvo.se> 
peter@cyklop.volvo.se (peter hakanson) writes:

>
>Looks like a clear case for migrating to DEC-unix or anything
>else that runs on 64 bits machines. (aka "full grown box")
>

AIX 4.2 doesn't have the 2 gig filesize limit.  I suspect that the problem
is in the version of perl that he is using.  As a possibile solution, try
compiling perl on the AIX box in question and see if the problem persists.

Kent
-- 
Kent Perrier           If Bill Clinton is the answer, then it must
kperrier@neosoft.com    have been a really stupid question.
Corporations don't have opinions, people do.  These are mine.
PGP 2.6 Public Key available by request and on key servers
PGP encrypted mail preferred!



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

Date: Tue, 06 May 1997 08:45:07 -0700
From: zonycat <zonycat@flash.net>
Subject: Re: absolute novice - help me start
Message-Id: <336F5203.5B21@flash.net>

chris wrote:
> 
> ok, at the high risk of sounding (being) stupid i have a very elementary
> question.
> 
> i want to learn perl and bought the sams "teach y-self perl in 21 days" and
> it came w/ perl5 and all that crap. i am language illiterate (except back
> in college took tp but forgot it all) and have win 95 and visualc++
> software.  i installed it , but i do not know how to write/save/run the
> crapola. i typed the first example program and tried to run it the way the
> book says in the perl.exe but nothing happens.  what the hell do i need to
> do?
> 
> some very patient soul, please help me get started so i can have the power
> too.
> 
> chris the idiot.

Chris,

Most of these intro books start with a very simple prgram of the Hello
World.  Just create a file, 'hello.pl' that has:

printf "Hello World, I am new\n";

Assuming then that you have your perl installed and have paths set
correctly and that you have associated the tag '.pl' with your perl.exe
file, then all should work.

When you installed perl, you should have followed the install
instructions that were present.  I put perl on my WIN95 PC and it works
fine. Just make sure your file association type is set correctly for
Perl and that your default path has the location to perl.exe in it. 
(See your autoexec.bat file for path info.

Dennis


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

Date: Tue, 06 May 1997 08:54:21 -0700
From: zonycat <zonycat@flash.net>
Subject: Re: absolute novice - help me start
Message-Id: <336F542D.EBC@flash.net>

zonycat wrote:
> 
> chris wrote:
> >
> > ok, at the high risk of sounding (being) stupid i have a very elementary
> > question.
> >
> > i want to learn perl and bought the sams "teach y-self perl in 21 days" and
> > it came w/ perl5 and all that crap. i am language illiterate (except back
> > in college took tp but forgot it all) and have win 95 and visualc++
> > software.  i installed it , but i do not know how to write/save/run the
> > crapola. i typed the first example program and tried to run it the way the
> > book says in the perl.exe but nothing happens.  what the hell do i need to
> > do?
> >
> > some very patient soul, please help me get started so i can have the power
> > too.
> >
> > chris the idiot.
> 
> Chris,
> 
> Most of these intro books start with a very simple prgram of the Hello
> World.  Just create a file, 'hello.pl' that has:
> 
> printf "Hello World, I am new\n";
> 
> Assuming then that you have your perl installed and have paths set
> correctly and that you have associated the tag '.pl' with your perl.exe
> file, then all should work.
> 
> When you installed perl, you should have followed the install
> instructions that were present.  I put perl on my WIN95 PC and it works
> fine. Just make sure your file association type is set correctly for
> Perl and that your default path has the location to perl.exe in it.
> (See your autoexec.bat file for path info.
> 
> Dennis

Oh Yes, Chris, I forgot to add this for more help....

Below, the FAQ list for WIN95 Perl:

http://www.endcontsw.com/people/evangelo/Perl_for_Win32_FAQ.html

more (pointed answers).....

http://www.endcontsw.com/people/evangelo/Perl_for_Win32_FAQ_1.html#1_14
http://www.endcontsw.com/people/evangelo/Perl_for_Win32_FAQ_3.html#3_1
http://www.endcontsw.com/people/evangelo/Perl_for_Win32_FAQ_4.html#4_10


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

Date: 8 May 1997 00:27:34 GMT
From: Chun Hoh <twkoh8@pc.jaring.my>
Subject: Anyone needs Perl programmer?
Message-Id: <01bc5b46.6b31dec0$63728ea1@cgi.chunhoh.com>

Dear sir/madam,

I'm a Perl/CGI programmer. I am familiar with the Windows NT and Unix
environment and have written many scripts such as browser chat, search
engine, free accounts system for homepages, bulletin board, multi-user
guestbooks, etc.....
You see, I'd like to acquire more knowdledge in this field but as I'm
still a student, I need more funds to buy books.

Anyone who is interested please contact me directly at chunhoh@abds.net

Thanx a million.

Cya
Chun Hoh



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

Date: 7 May 1997 17:27:54 GMT
From: northrup@chem.ufl.edu (Dylan Northrup)
Subject: Re: bad name for good idea: comp.lang.perl.moderated (was Re: Loosing clpm regulars (was Re: Perl auto-replier))
Message-Id: <5kqe2q$1jj@nostromo.clas.ufl.edu>

An infinite number of monkeys in the guise of Geoff Simmons <g.simmons@elmshorn.netsurf.de> wrote:
[snippage]
=:In article <8civ0wo8nt.fsf_-_@gadget.cscaper.com>, Randal Schwartz
=:<merlyn@stonehenge.com> wrote:
=:
=:> The moderation idea is just fine, but putting "moderated" in a title
=:> always seems to rub me the wrong way. [...]
=:> I like comp.lang.perl.questions (moderated) myself.
=:
=:Hm. I have no problem with taking "moderated" out of the name, but are you
=:sure that you want "questions" to go in its place? The *idea* of c.l.p.misc
=:is not just Q&A, but also more general discussion of whatever there is to
=:discuss about Perl (even though it may be little more than Q&A now). Wouldn't
=:you want the moderated group to have a similarly broad agenda?

You could have clpm.questions, clpm.discussion, clpm.advocacy (which I'm
sure would lead to lots of high brow, intellectual discussion ;-), clpm.cgi
(which would hopefully draw the weenies who think 'perl' eq 'CGI' like moths
to the flame), clpm.programming, etc.

Having a moderated group isn't always the best thing, but in this case, it
does look like it's the only option available.

--
Dylan Northrup <*> northrup@pobox.com <*> http://pobox.com/~northrup <*>
Ask me about e-mail P.O. Boxes <*> "I don't want the world, just your half"
---------------
Random B5 Quote
---------------
"I will confess that I look forward to the day when we have cleansed the
  Universe of the Centauri and carved their bones into little flutes for
  Narn children.  It is a dream I have."
  -- G'Kar, "Midnight on the Firing Line"



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

Date: Wed, 07 May 1997 22:21:14 GMT
From: robert@duey.iminet.com (Robert Saunders)
Subject: Dates
Message-Id: <660BD04D3FA91343.0BD96569A5436C38.3B8B2855D40CC748@library-proxy.airnews.net>

I am trying to use the date function. but I don't need all the
information that it returns.. I would like to parse the information so
I could get just the Month and the Day out of the date function. 

I am of course new to the perl scene. Could someone point me in the
right direction  to get this achived.. 


Robert
robert@duey.iminet.com



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

Date: Wed, 07 May 1997 15:46:14 -0700
From: "Dipti V. Sonak" <dsonak@us.oracle.com>
To: robert@duey.iminet.com
Subject: Re: Dates
Message-Id: <33710636.576D@us.oracle.com>

#!/usr/local/bin/perl -w
 
 
$month = `date +'%m'`;
$day   = `date +'%d'`;
$year  = `date +'%y'`;
 
printf "Month : $month\n";
printf "Day   : $day \n";
printf "Year  : $year \n";
 
__END__

Thanks, 
Dipti 



Robert Saunders wrote:
> 
> I am trying to use the date function. but I don't need all the
> information that it returns.. I would like to parse the information so
> I could get just the Month and the Day out of the date function.
> 
> I am of course new to the perl scene. Could someone point me in the
> right direction  to get this achived..
> 
> Robert
> robert@duey.iminet.com


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

Date: 7 May 1997 22:47:21 GMT
From: I-hate-cyber-promo@man.ac.uk (A. Deckers)
Subject: Re: FTP support in perl
Message-Id: <slrn5n21jl.dkj.I-hate-cyber-promo@nessie.mcc.ac.uk>

In comp.lang.perl.misc,
	fritz@fuse.net wrote:
>In a shell script I can do something like the following to FTP multiple
>files from a machine:
>
>ftp myhost << !
>userid
>prompt
>bin
>get file01
>get file02
>!
>
>Can I do something similar form Perl, or do I need to get into sockets?

Well, you'll need to _use_ sockets, but provided you let the Net::FTP
module take care of all the dirty work for you, you'll never have to
worry about how it all works. :-)

Full documentation and example scripts are included, IIRC.

Have a look at CPAN: <URL:http://www.perl.com/CPAN/modules/>.

HTH,

Alain

-- 
Perl information: <URL:http://www.perl.com/perl/>
        Perl FAQ: <URL:http://www.perl.com/perl/faq/>
    Perl archive: <URL:http://www.perl.com/CPAN/>


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

Date: 6 May 1997 22:19:43 GMT
From: lparillo@newshost.li.net (Parillo)
Subject: Re: How can I email with Perl on NT using Blat
Message-Id: <5koapv$kbn@linet06.li.net>

Good answer.
Two Points,
 1. Make sure the /temp directory exists.
 2. I either use \\ or / but not // as windows directory spaces.

Petri Backstrom (petri.backstrom@icl.fi) wrote:

: No gurus needed to answer your question. Here's enough to get
: you going:

:  ...
:  my $tempfile =  '/temp/' . time . "$$" . '.tmp';

:  if ( open( TEMPFILE, ">$tempfile" ) ) { 
:      print TEMPFILE $output; # or whatever you want to mail
:      close( TEMPFILE );
:      system "d:\\directory\\blat.exe $tempfile -t $toaddress -q"; #
: email
:      unlink $tempfile;
:  }
:  else {
:      die "cannot create temporary file ($!)";
:  }
:  ...

: Make sure that the web server user ID is allowed to run
: BLAT, and to write the temporary file(s) to whatever
: location you decide to use.

: regards,
:  ...petri.backstrom@icl.fi
:     ICL Data Oy
:     Finland


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

Date: 7 May 1997 23:23:41 GMT
From: ilya@math.ohio-state.edu (Ilya Zakharevich)
Subject: Re: IlyaZ OS2 perl and PDKshell
Message-Id: <5kr2tt$oq0$3@mathserv.mps.ohio-state.edu>
Keywords: IlyaZ perl port, DOS, PDKshell

[A complimentary Cc of this posting was sent to whams
<whams@xs2.xs4all.nl>],
who wrote in article <5kln9k$ca0$1@news0.xs4all.nl>:

> #!/usr/bin/perl -w
> 
> $test = system q{c:\\4dos\\4dos.com /c dir};
> print $test;
> exit;
>   # actually shows the DIR listing, but then prints:
>   # can't spawn e:/perl/bin/sh.exe : function not implemented
>   # at e:\perl\bin\perltest.pl line 3
>   # 65280

Just checking: does 
	system 'c:/4dos/4dos.com', '/c', 'dir';
give the same results?  Note that both invocations _should not_
trigger sh.exe - wait a second! First one goes through sh.exe since
there are metachars in the command line - \ is a metachar!

> 
> #$test = system `dir`;
> #print $test;
> #exit;
>   # proces 3 get hardware fault 13 (general protection) at 7DCF
>   # writing core file
>   # Process terminated by SIGSEGV
>   # -1

Interesting...  On my system it does it since I have dir.exe which is
not runnable under DOS (it is an OS/2-executable).

> 
> # print system q/c:\dos\command.com/, q/\/c/, q/dir/;
>   #SIGKILL etc

Do not follow you.

Ilya


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

Date: Tue, 06 May 1997 09:14:26 -0700
From: zonycat <zonycat@flash.net>
Subject: Re: New Perl programmer in need of tutorials
Message-Id: <336F58E2.5888@flash.net>

Katharine Osborne wrote:
> 
> If anybody knows of any online tutorials on getting started with Perl
> please email me.  It would be especially helpful if they were slanted
> from C\C++ or Java, I've only had the barest minimum exposure to shell
> programming.  Also please don't ask me to read the FAQ's from this
> newsgroup, I've been down that road already.
> 
> Thanks in advance-
> KaOs
> kosborne@rocketmail.com

Katharine,

There are a lot of books on the market to help with the beginner.  I
should know, as I am learning more every day.  Several of the books have
CDs or tell you where to reference their examples for exercises they
have in their books.  "60 Minute Guide to CGI Programming "  is a good
book and has some examples on line with IDG BOOKS in their online
bookstore.

So find a book with a CD and you got it made.


Dennis


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

Date: 6 May 1997 22:04:13 GMT
From: lparillo@newshost.li.net (Parillo)
Subject: Re: Perl auto-replier
Message-Id: <5ko9st$kbn@linet06.li.net>

I love the glock, but on charter, the hiya planet will work under windows.
I know the \n is the new line character, but is there a difference between 
the windows and unix perl interperters?

This is what I get:

C:\WINDOWS\TEMP\Perl\PERL5>type    samples\foo.pl2
print "Hiya planet";
C:\WINDOWS\TEMP\Perl\PERL5>perl -w samples\foo.pl2
Hiya planet
C:\WINDOWS\TEMP\Perl\PERL5>

Eli the Bearded (usenet-tag@qz.little-neck.ny.us) wrote:
: both Chris and Rod need to be corrected to have a \n in the print statement



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

Date: Wed, 7 May 1997 23:46:54 GMT
From: stephen farrell <stephen+usenet@farrell.org>
Subject: Re: Perl CORBA IIOP module?
Message-Id: <87yb9qhmkx.fsf@phaedrus.uchicago.edu>

"Oracle News 2" <rpang@us.oracle.com> writes:

> Hi folks,
> 
> When I read the news, I came across a Perl IIOP module.  Does anyone know
> where I can find more information about it?

I'm aware of the following:

http://www.lunatech.com/cope/

--sf


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

Date: 7 May 1997 23:15:11 GMT
From: ilya@math.ohio-state.edu (Ilya Zakharevich)
Subject: Re: Perl debugger limitation...
Message-Id: <5kr2dv$oq0$2@mathserv.mps.ohio-state.edu>

[A complimentary Cc of this posting was sent to D. Emilio Grimaldo T.
<grimaldo@iaehv.nl>],
who wrote in article <336E53D0.3C07@iaehv.nl>:
> Hi,
>    I was trying the Perl debugger (perl -d) via another program
> using a Unix pipe, however not matter what I do, even if the
> pipe is setup the output of perl5db.pm always kind of flows
> out of the pipe instead of inside the pipe to use some plumbing
> terms. 
> 
> I definitely need it to work so that its output comes fine 
> via the pipe and that I can give commands to it via the pipe.
> I looked at the code and is something I wouldn't like to
> tweek :-) any ideas when this is going to be 'improved' ?

Nobody yet found a need to improve the debugger... ;-) Just customize
it from your .perldbrc or in thousends of other ways - documented in
the docs (starting from around 3_23).

> It would be nice if it could also work via socket :-) would
> work on that if I had the time...

Why not?  Read from socket...

Current limitation of the TTY option is that you need to read and
write from the same file.  If not, you need to manually resetTTY into
any two handles inside your .perldbrc.

Ilya




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

Date: 7 May 97 22:39:56 GMT
From: maguirer@hercules.cs.uregina.ca (Robert Maguire)
Subject: Reading a text file backwards (bottom to top)
Message-Id: <maguirer.863044796@hercules>

I have a log file that I want to parse information out of, and I want to
do so starting at the end of the file then working upwards if necessary.

The reasoning behind it is like so:

I read from the end, getting some error condition.
Then I read upwards until I find another set of keys words or whatever.
>From those keywords I can tell why the error condition ocurred and then take
the necessary error recovery actions...

Initially I just read the entire file into a list (@lines) and then
reversed the list (reverse (@lines)).  However, my problem is that once
I find my error code, I want to traverse through the list from the line	
in the reversed list where the error was.

Now I suppose I could do this be keeping track of the index I'm currently
in and then traverse the list start at the error's index value, but I
was wondering if there was something a little cleaner and "spiffier" :)

thanks in advance,

bob
maguirer@tdi.uregina.ca


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

Date: Wed, 07 May 1997 13:47:59 -0700
From: Cindy Rutherfurd <cindyrutherfurd@linkonline.net>
Subject: Request for simple text file handling program
Message-Id: <3370EA7F.4BB9@linkonline.net>

Hi.  I'm just learning perl.  I'd like to write a script to read a text
file, glean some of the substrings from the file, then write them out as
hyperlinks. Does anyone out there have such an example script?  Please
e-mail.

tia.

Cindy Rutherfurd


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

Date: 07 May 1997 16:35:10 -0700
From: Michael Limprecht <admiral@eng.sun.com>
Subject: Show variables during debug?? Debuggers in general.
Message-Id: <v2lg1vyzwi9.fsf@eng.sun.com>



Being new at this I was wondering if there's anyway to
show the variable values during a trace or debug session?

Something similar to "#!/bin/csh -xv".

Example:
System::submit_lb_job(/vobs/tools/src/run/lib/System.pl:193):
193:	    open(JOB,"/import/camelot/tools/lsf/lsf,v2.2a/sun4-5/bin/bsub.exec $job_queue_string -J $job_name $ENV{'LB_FLAGS'} cleartool setview -exec \"$job_text\" $job_view |");


I want to see the value of $job_text during the trace and not just
that it was executed.

Also, what's the best package/tool for doing perl debug work? I'm using
Xemacs 19.14 and understand that has some perl debugging tools.

Thanks in advance,

Mick


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

Date: Thu, 08 May 1997 01:25:21 GMT
From: soccer@microserve.net (Geoffrey Hebert)
Subject: Split simple ?
Message-Id: <5kr8ut$c59$1@news3.microserve.net>

Code works when there is more than one file in directory.  Does not
work with one.  

The Camel 5 book says (page 220)  "If the PATTERN doesnt match at
all, split returns the original string as a single substring.

Here is the code:
print "59 if $cur_dir ne $a_dir\n";
   if ($cur_dir ne $a_dir) {
       print "61 do $cur_dir ne $a_dir p-subject is $p_subject\n";
       $all_files = `ls $p_subject\/alpha\/$a_dir`;
       print "all files is $all_files\n";
       $all_files=~s/.//g;  # remove dir . and ..
       @all_files = split(/\s+/,$all_files);             ##### here ?
       print "array all files is @all_files\n";
   }
   $num_files = scalar(@all_files);
   print "63 num files $num_files\n";

Here are the prints produced.
59 if   ne a
61 do   ne a p-subject is xref
all files is 1000
 
array all files is
63 num files 0

-------  signature  ----------

Check out the Perl site!

http://www.microserve.net/~soccer/

use password perlmisc

Geat tool for Developers>



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

Date: 7 May 1997 23:01:46 GMT
From: ilya@math.ohio-state.edu (Ilya Zakharevich)
Subject: Re: Trouble with Emacs auto formatter
Message-Id: <5kr1kq$oq0$1@mathserv.mps.ohio-state.edu>

[A complimentary Cc of this posting was sent to Jesse Glick 
<jesse@ginger.sig.bsh.com>],
who wrote in article <4obu6nvymp.fsf@ginger.sig.bsh.com>:
> 
> You ARE using CPerl mode (vs. crappy Perl-Mode that comes with Emacs), aren't
> you? If not, you have no right to complain...
> 
> I think it is available on CPAN somewhere, one of the misc directories
> perhaps.
> 
> When will RMS wisen up and replace perl-mode for good? Some sort of licensing
> issue?

It is being sorted out.  RMS is no more a stopping point (unless you
assign his copywrite rules to him ;-).

Ilya


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

Date: 7 May 1997 21:32:05 GMT
From: dblack@icarus.shu.edu (David Alan Black)
Subject: Re: Urgent: Need help with web site design for a class I'm taking!
Message-Id: <5kqscl$lki@pirate.shu.edu>

Hello -

"gary.stoker" <gary.stoker@MCI2000.com> writes:

>	Can anybody help me design an interactive form for my website using perl? 

If you're having trouble completing an assignment, you should talk
to your teacher about it.  Why would your teacher want to waste his
or her time evaluating the work of some stranger?

>I've designed my web site using Microsoft's FrontPage and its file
>extensions are not recognized at CSU.  Perls are.

What are Perl's file extensions?

David Black
dblack@icarus.shu.edu


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

Date: Wed, 07 May 1997 18:21:23 +0100
From: silver@silverbergcom.com
Subject: uuencode?
Message-Id: <3370BA06.71BC@silverbergcom.com>

Anyone know how I can uuencode a variable & then print it to a file? I
am trying to write an HTACCESS (HTTPD) web-based interface script that
will edit the passwords w/o having to go into the unix shell.

Thanks,

Eric Silverberg


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

Date: 7 May 1997 18:41:53 -0700
From: brannon@bufo.usc.edu (Terrence M. Brannon)
To: perldl@jach.hawaii.edu, pdl-porters@jack.hawaii.edu
Subject: What is the rationale for this calling convention?
Message-Id: <ysizn2q6hha9.fsf@bufo.usc.edu>

Given the following sub which exists in PDL/Core.pm

sub zeroes {
    my $class = shift; 
    print "zeroes rec'd ", $class, " as class", $/;
    my $nelems = 1; my @dims;
    for (@_) { 
       croak "Dimensions must be positive" if $_<=0;
       $nelems *= $_; push @dims, $_ 
    }
    my $pdl = bless {}, $class;
    $$pdl{Data}     = "\0"x($nelems*howbig($PDL_F));
    $$pdl{Datatype} = $PDL_F;
    $$pdl{Dims}     = [@dims];
    return $pdl;
} 

Is there some utility in it sending in a different first argument
depending on whether I use absolute or relative addressing to invoke
the function?

main::(-e:1):	42
  DB<1> use PDL

  DB<2> $a = zeroes(10)
zeroes rec'd PDL as class

  DB<3> $a = PDL::Core::zeroes(10)
zeroes rec'd 10 as class

  DB<4> 

-- 
o============o Sending  unsolicited commercial e-mail (UCE) to this address
 Legal Notice  is indication of your consent to pay me $120/hour for 1 hour
o============o minimum for professional proofreading & technical assessment.
terrence brannon * brannon@rana.usc.edu * http://rana.usc.edu:8376/~brannon


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

Date: Wed, 07 May 1997 19:31:59 -0500
From: Wyatt <wwyatt@alltel.net>
Subject: Where do I get PERL?
Message-Id: <33711EFF.5E55E46A@alltel.net>

Could someone point me in the direction of the perl software? I'm tring
to set up a counter on my computer (server) and it says that I need
perl. Thanks


Wyatt



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

Date: 8 Mar 97 21:33:47 GMT (Last modified)
From: Perl-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin) 
Subject: Digest Administrivia (Last modified: 8 Mar 97)
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 V8 Issue 448
*************************************

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