[9601] in Perl-Users-Digest
Perl-Users Digest, Issue: 3195 Volume: 8
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Sat Jul 18 19:07:19 1998
Date: Sat, 18 Jul 98 16:00:24 -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 Sat, 18 Jul 1998 Volume: 8 Number: 3195
Today's topics:
Re: clp.moderated birgitt@my-dejanews.com
Re: Coding Quiz (was Re: efficiency: print<<"xxx" vs. p (Fraggle)
Re: efficiency: print<<"xxx" vs. print (Fergus Henderson)
eradicate / strip tabs from input <elssa09@nospam.callisto.si.usherb.ca>
Re: eradicate / strip tabs from input (Tad McClellan)
Help Help : Registry settings for IIS and perl <krisvg@glo.be>
Re: How do I clear an array? (Craig Berry)
how to set IO::Socket to non blocking? <fis@mpi-sb.mpg.de>
Re: I'm baffled.. (and an amateur:) <Tony.Curtis+usenet@vcpc.univie.ac.at>
Re: I'm baffled.. (and an amateur:) (Allan M. Due)
Re: Lex for Perl / Object Dumper? <swoboda@uvic.ca>
locale setting under Linux (bakki kudva)
Perl CGI's under Windows NT kanak@pobox.com
Re: Perl script conditional branch (Darren Hayes)
problem with making perl - please help <mcmahan@cs.utk.edu>
Problems installing Perl for OS/2 (DOS) <seitz@bzs.tu-graz.ac.at>
Regular expressions and HTML <dgris@rand.dimensional.com>
Re: system() return values <ahaas@neosoft.com>
Re: WARNING: Newbie Inquiry - PERL Architecture <dtbaker_@flash.net>
Special: Digest Administrivia (Last modified: 12 Mar 98 (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Sat, 18 Jul 1998 17:02:40 GMT
From: birgitt@my-dejanews.com
Subject: Re: clp.moderated
Message-Id: <6oqkfg$25u$1@nnrp1.dejanews.com>
In article <8czpe7xsfj.fsf@gadget.cscaper.com>,
Randal Schwartz <merlyn@stonehenge.com> wrote:
> >>>>> "birgitt" == birgitt <birgitt@my-dejanews.com> writes:
>
> birgitt> dejanews.com had clp.moderated as soon as it became available.
>
> That's really odd. They *still* don't have comp.lang.perl.announce
> after *three* years.
hm, I subscribed to my-dejanews (no cost) and receive comp.lang.perl.announce
without difficulties.
Birgitt Funk
> print "Just another Perl newsgroup moderator,"
>
> --
> Name: Randal L. Schwartz / Stonehenge Consulting Services (503)777-0095
> Keywords: Perl training, UNIX[tm] consulting, video production, skiing, flying
> Email: <merlyn@stonehenge.com> Snail: (Call) PGP-Key: (finger
merlyn@teleport.com)
> Web: <A HREF="http://www.stonehenge.com/merlyn/">My Home Page!</A>
> Quote: "I'm telling you, if I could have five lines in my .sig, I would!" --
me
>
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum
------------------------------
Date: 18 Jul 1998 22:49:55 GMT
From: Fraggle@ThePentagon.comNOSPAM (Fraggle)
Subject: Re: Coding Quiz (was Re: efficiency: print<<"xxx" vs. print)
Message-Id: <slrn6r29of.lfi.Fraggle@pulpy.dyn.ml.org>
On 17 Jul 1998 00:27:01 -0400, Uri Guttman <uri@sysarch.com> wrote:
>1. Who is main the PERSON you should think about while you are writing code?
Next maintainer of the code (which may be yourself)
>2. Other than comments, what is the most important HUMAN aspect of code?
Style.
>3. What is the main PURPOSE of comments?
Briefly explain *what* the code does(not *how* it does it!)
>Bonus: What is the OPPOSITE of spaghetti code?
Dough code.
--
Laetrile is the pits.
------------------------------
Date: 18 Jul 1998 20:14:02 GMT
From: fjh@cs.mu.oz.au (Fergus Henderson)
Subject: Re: efficiency: print<<"xxx" vs. print
Message-Id: <6oqvma$38v$1@mulga.cs.mu.OZ.AU>
Tom Christiansen <tchrist@mox.perl.com> writes:
> [courtesy cc of this posting sent to cited author via email]
>
>In comp.lang.perl.misc, lr@hpl.hp.com (Larry Rosler) writes:
>:Real Programmers don't write comments! Seriously, comments should deal
>:with higher-level function, not with implementation details, which should
>:speak for themselves (assuming the reader knows the language).
>
>Why is it that so few programmers ever figure this out? Even the
>millionth time you see an "add one to i" comment, it doesn't help.
>
>--tom
>
> Basically, avoid comments. If your code needs a comment to be
> understood, it would be better to rewrite it so it's easier to
> understand. --Rob Pike
A certain amount of redundancy is not a bad thing.
Often it is useful to know what the programmer intended the code
to do, not just what it does. This information is particularly
useful in cases where the two do not match.
For example, if you see the following
i--; /* add one to i */
then you may well be right to suspect that something funny is going on.
Of course, you should not go to extremes, such as actually commenting
every `i++' or `i--'. But I find that a good commenting style
makes code *much* easier to understand. Generally I prefer to
group code within a function into blocks of strongly related code, most
often of around three to 10 lines of code, and preceding each one with
a comment saying what it is supposed to do.
I find statements like "Basically, avoid comments" to be extremely harmful.
--
Fergus Henderson <fjh@cs.mu.oz.au> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
PGP: finger fjh@128.250.37.3 | -- the last words of T. S. Garp.
------------------------------
Date: Sat, 18 Jul 1998 19:15:03 GMT
From: ELSS Admin <elssa09@nospam.callisto.si.usherb.ca>
Subject: eradicate / strip tabs from input
Message-Id: <35B0F3A9.3297@nospam.callisto.si.usherb.ca>
I need a piece of code that will erase tabs from a form input.
Will something like this work?
$FORM{'message'} =~s/\t//g;
Please reply by e-mail if possible.
mailto:elssa09@NOSPAM.callisto.si.usherb.ca
Erase out the "NOSPAM."
Thanks
Nathalie
------------------------------
Date: Sat, 18 Jul 1998 15:17:54 -0500
From: tadmc@flash.net (Tad McClellan)
Subject: Re: eradicate / strip tabs from input
Message-Id: <itvqo6.6kh.ln@localhost>
ELSS Admin (elssa09@nospam.callisto.si.usherb.ca) wrote:
: I need a piece of code that will erase tabs from a form input.
: Will something like this work?
What happened when you tried it?
: $FORM{'message'} =~s/\t//g;
Something like this:
tr/\t//d;
will be faster.
: Please reply by e-mail if possible.
: Erase out the "NOSPAM."
Heh, heh.
This is the Perl newsgroup.
Jokes should go to the rec.humor.funny newsgroup...
--
Tad McClellan SGML Consulting
tadmc@metronet.com Perl programming
Fort Worth, Texas
------------------------------
Date: Sat, 18 Jul 1998 21:59:20 +0200
From: Kris Van Gompel <krisvg@glo.be>
Subject: Help Help : Registry settings for IIS and perl
Message-Id: <35B0FE98.FE53B130@glo.be>
hi,
I need to install perl for windows NT and everything went fine, but when
I try to execute a .bat file or an .perl file, I got the error :
HTTP/1.0 501 Not Supported
I know this is something I have to change in the registry file, but I
don't know how , especially the data I have to give.
Please help, it is urgent ...
Thanks in advance
------------------------------
Date: 18 Jul 1998 21:56:29 GMT
From: cberry@cinenet.net (Craig Berry)
Subject: Re: How do I clear an array?
Message-Id: <6or5md$1s4$1@marina.cinenet.net>
- (root.noharvest.\@not_even\here.com) wrote:
: kortbein@iastate.edu (Josh Kortbein) Said this:
:
: >Robert Eric Pearse (pearse@mail.shebang.net) wrote:
: >: But, ' @array = ""; ' inserts a null value into the array. And when it
: >
: >@array = ();
:
: How about undef(@array);
:
: sure it takes more keystrokes, but when you return to this script a
: few months from now, it's a little clearer as to why you did it.
Not true (to my way of thinking). 'undef @array' says "I'm entirely done
with @array; nuke it," while '@array = ()' says "@array is still around,
it just doesn't contain anything right now." That's a big (semantic)
distinction. And if I mean "it's empty now" but use undef to get there, I
get "use of undefined value" warnings (quite properly).
---------------------------------------------------------------------
| Craig Berry - cberry@cinenet.net
--*-- Home Page: http://www.cinenet.net/users/cberry/home.html
| Member of The HTML Writers Guild: http://www.hwg.org/
"Every man and every woman is a star."
------------------------------
Date: 18 Jul 1998 23:34:42 +0200
From: Matthias Fischmann <fis@mpi-sb.mpg.de>
Subject: how to set IO::Socket to non blocking?
Message-Id: <y9i90lqaln1.fsf@mpii02700.mpi-sb.mpg.de>
Hi,
I create a socket with
my $sock = IO::Socket::INET->new(PeerAddr => $self->{'host'}.":".$self->{'port'},
Proto => 'tcp');
and start reading and writing on it. As far as I understand what's
goining on, <$sock> evaluates to undef if nothing is waiting on the
socket to be read, i.e. reading is non-blocking.
Does anyone know how to set it to blocking? Or do I really have to use
`select'?
What I need is probably just a link to a manpage or something?
thanx a lot,
Matthias
--
Max-Planck-Institut f|r Informatik | Deutsches Forschungszentrum f|r KI
fis@mpi-sb.mpg.de | fischman@dfki.de
http://www.mpi-sb.mpg.de/~fis |
------------------------------
Date: 18 Jul 1998 20:09:47 +0200
From: Tony Curtis <Tony.Curtis+usenet@vcpc.univie.ac.at>
Subject: Re: I'm baffled.. (and an amateur:)
Message-Id: <7xpvf3xc7o.fsf@haze.vcpc.univie.ac.at>
Re: I'm baffled.. (and an amateur:), Yong
<yong@shell.com> said:
Yong> Contrary to what many people think, single print
Yong> sometimes does have problems. When writing a CGI
Yong> script, you have to insert dynamic content between
Note that I've noticed (and I've been CGIing in perl since
'93).
Besides, why not use the HTML shortcuts that CGI.pm provides
for you?
print header,
start_html("title"),
h1("hello"),
startform(....),
endform,
end_html;
hth
tony
--
Tony Curtis, Systems Manager, VCPC, | Tel +43 1 310 93 96 - 12; Fax - 13
Liechtensteinstrasse 22, A-1090 Wien, AT | http://www.vcpc.univie.ac.at/
personal email: tony_curtis32@hotmail.com
"You see? You see? Your stupid minds! Stupid! Stupid!" ~ Eros, Plan9 fOS.
------------------------------
Date: 18 Jul 1998 19:52:23 GMT
From: due@murray.fordham.edu (Allan M. Due)
Subject: Re: I'm baffled.. (and an amateur:)
Message-Id: <6oqudn$a1c$0@206.165.146.12>
[This followup was posted to comp.lang.perl.misc and a copy was sent to
the cited author.]
Well that was an interesting discussion as to the relative merits of
printing in Perl. However, I never noted a solution to the question at
hand, but I then again I could have missed it. Anyway, here is one
idea. Could it be that you send Delete (big D) from your form and then
test for delete (little d)? Case is of concern in Perl.
HTH
--
Allan M. Due
Due@Murray.Fordham.edu
The beginning of wisdom is the definitions of terms.
- Socrates
In article <35AF8338.EEA1033C@command-central.nmsd.k12.nm.us>, JFR
(jeremiah@ganymede.net) posted...
|Greetings all..
|
<major snippage>
#!/usr/bin/perl -w
use CGI ':standard';
$Password = "anti";
$CGI_URL = "http://dns2.ganymede.net:1500/hmm.cgi";
$BaseURL = "http://dns2.ganymede.net:1500";
<snip some more>
print "<P ALIGN=CENTER><INPUT TYPE=\"submit\"
VALUE=\"Delete\"><INPUT \$
print "NAME=\"name\" TYPE=\"reset\" VALUE=\"Reset\"></P>\n";
print "\n";
print "<HR>";
print "</BODY>\n";
print "</HTML>\n";
print end_form;
# Check password information and delete entry from file
if ( param('submit') =~ /delete/ ) {
<final snip>
------------------------------
Date: Sat, 18 Jul 1998 14:07:18 -0700
From: Paul <swoboda@uvic.ca>
Subject: Re: Lex for Perl / Object Dumper?
Message-Id: <35B10E86.1CA8CBD@uvic.ca>
Andrew M. Langmead wrote:
> Have you thought of making an XS module that includes the C code
> output by lex? I think all you would need is a C yyparse() that
> converted its tokens to perl variables and called perl's yyparse().
> --
> Andrew Langmead
Yes, but that's just so... IMPURE. I like to do as much as possible
in Perl and nothing else. Actually, after I had to make a few changes
to the same lexer yesterday, I decided to re-write the whole thing in
Parse::Lex. I hope that Parse::Lex comes standard in the next official
Perl release.
PS
.
------------------------------
Date: 18 Jul 1998 18:12:54 GMT
From: bakki@ncinter.net (bakki kudva)
Subject: locale setting under Linux
Message-Id: <6oqoj6$40e$1@news12.ispnews.com>
Hi,
A newbie question. When I run Perl under Linux I get...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LC_ALL = (unset),
LANG = "EN"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
I have read the locale man pages and the perllocale pages etc but still at a
loss what exactly I need to do. Do I set these variables in my .bashrc? How do
I set the LC_ALL and LANG settings?
Any help will be greatly appreciated
-Bakki
------------------------------
Date: Sat, 18 Jul 1998 22:35:29 GMT
From: kanak@pobox.com
Subject: Perl CGI's under Windows NT
Message-Id: <6or7vh$fgl$1@nnrp1.dejanews.com>
Hi,
If I'm in the wrong group, I apologize, and would appreciate it if someone
would be able to direct me to a more appropriate group.
I've been having a problem getting Perl scripts to run as cgi's under Windows
NT with Micro$oft Personal Web Server. The .pl files and .cgi files run fine
by hand. But when launched from the web server, the symptom is that the web
server will try to do an http transfer of a .pl file, and will whine about
the .cgi file with a "%1 is not a valid Windows NT application.".
-My two local guru's remember having this problem but don't remember how to
get around it!
-All directories in the Personal Web Server are checked execute.
-I've added d:\perl\bin\perl.exe %s %s to
My Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet
\Services\W3SVC\Parameters\ScriptMap for .plx, .pl and .cgi
-I've manually associated .pl and .cgi with the perl binary
-I've run a little registry script like this:
REGEDIT4
[HKEY_CLASSES_ROOT\.PL]
@ = "PL_auto_file"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PL_auto_file]
@ = ""
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PL_auto_file\shell]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PL_auto_file\shell\open]
@ = ""
[HKEY_CLASSES_ROOT\PL_auto_file\shell\open\command]
@ = "\"D:\\perl\\bin\\perl.exe\" %1 %*"
Please if anybody has any ideas for this, I'd really like to know!
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum
------------------------------
Date: Sat, 18 Jul 1998 21:29:50 GMT
From: darrenh@efn.org (Darren Hayes)
Subject: Re: Perl script conditional branch
Message-Id: <35b5113a.3093051@news.efn.org>
Hello,
Hmmm.... It tdoesn't look like my post from yesterday didn't make it
into comp.lang.perl.misc although it made it to
comp.infosystems.www.authoring.cgi
I am calling one web form from another. If a specific variable is
entered in a specific form field then when the results of the first
form are tested in a script a second form will be sent to the browser.
I have just discovered that using hidden fields to move the data from
the first form to the second form is the way to go.
However the conditional test branch I am using in the script to decide
if to render the second form is not working correctly. Below I share
my thoughts on this issue in more specefic terms...
On 17 Jul 1998 22:01:35 GMT, jeff@yoak.com (Jeff Yoak) wrote:
>[posted and emailed]
>
>darrenh@efn.org (Darren Hayes) wrote:
>
>:the data entered in both forms is merged together into a single
>:associative array and then the data is processed by the CGI script as
>:usual).
>
>You'll probably want to generate the second form dynamically and pass
>the data from the first call along as hidden fields. CGI.pm is very
>good at doing this sort of thing.
Yes after further study hidden fields is the way I think I should go.
Thanks for the suggestion.
I am still confounded on how to do a conditional branch. It looks like
the || short-ciruit OR does not work like I was assuming. Is there an
easy way to say in Perl "IF either a OR b is true THEN run subroutine
c"?
>if
>($form_data{'category_of_submission'}
>eq "Workshop Session: 3-hour" ||
>$form_data{'category_of_submission'} eq
>"Workshop Session: 6-hour")
> {
> &display_form2_screen;
> exit;
> }
I thought the above would process the same as:
>if
>($form_data{'category_of_submission'}
>eq "Workshop Session: 3-hour"
> {
> &display_form2_screen;
> exit;
> }
>
>if
>($form_data{'category_of_submission'}
>eq "Workshop Session: 6-hour")
> {
> &display_form2_screen;
> exit;
> }
However neither code is processing correctly (my script skips right
over it) even though I know Workshp Session: 3-hour is selected in the
form and correctly making it into and out of the array variable
'category_of_submission' in the rest of the script.
>CGI::StateApp, available here:
>http://ccwf.cc.utexas.edu/~cboyd/projects/perl/StateApp.html is meant
>to automate that sort of thing but I haven't used it myself beyond a
>little experiment.
Appreciate the scoop.
Presently I am working with Brenner's cgi-lib.pl. Previously others
have suggested going with CGI.pm. Any online references online which
illustrates specific comparisons between the two libraries? Does
CGI.pm process the exact same calls, just in a more efficient or
fuller-featured manner than cgi-lib.pl? Before changing libraries I
would want to know the specific areas where I may need to adjust my
existing scripts . Bottomline is evaluating the time invested in
changing existing scripts versus the benefits received from changing
CGI libraries.
Thanks for any and all thoughts and ideas. Please post and also email
to darrenh@efn.org as sometimes my news server goes on the fritz.
Darren
------------------------------
Date: Sat, 18 Jul 1998 17:28:53 -0400
From: Paul McMahan <mcmahan@cs.utk.edu>
Subject: problem with making perl - please help
Message-Id: <35B11394.EF5B099A@cs.utk.edu>
# make test
[...]
base/cond.........ok
base/if...........ok
base/lex..........ok
base/pat..........ok
base/term.........panic: corrupt saved stack index, <try> chunk 1.
panic: corrupt saved stack index, <try> chunk 1.
panic: corrupt saved stack index, <try> chunk 1.
panic: corrupt saved stack index, <try> chunk 1.
panic: corrupt saved stack index, <try> chunk 1.
[ ...and so on... ]
Can anyone help me? Thanks in advance - Paul
output of myconfig :
Summary of my perl5 (5.0 patchlevel 4 subversion 4) configuration:
Platform:
osname=solaris, osvers=2.5.1, archname=sun4-solaris
uname='sunos foo 5.5.1 generic_103640-21 sun4u sparc
sunw,ultra-enterprise '
hint=recommended, useposix=true, d_sigaction=define
bincompat3=y useperlio=undef d_sfio=undef
Compiler:
cc='cc', optimize='-O', gccversion=
cppflags='-I/usr/local/include'
ccflags ='-I/usr/local/include'
stdchar='unsigned char', d_stdstdio=define, usevfork=false
voidflags=15, castflags=0, d_casti32=define, d_castneg=define
intsize=4, alignbytes=8, usemymalloc=y, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -ldl -lm -lc -lcrypt
libc=/lib/libc.so, so=so
useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-Kpic', lddlflags='-G -L/usr/local/lib'
------------------------------
Date: Sat, 18 Jul 1998 20:39:20 +0200
From: "Peter Seitz" <seitz@bzs.tu-graz.ac.at>
Subject: Problems installing Perl for OS/2 (DOS)
Message-Id: <6oqq4q$73a@fstgal00.tu-graz.ac.at>
Dear Friends,
I've downloaded the archives of perl for OS/2 from the next CPAN server in
order to get access to Perl on a DOS machine.
The only problem so far is that the file perl_ste.zip does not unpack
correctly. It says that there is a bad offset in the archive.
Any sugguestions where I can get a working copy of this archive, so I can
proceed in installing Perl on DOS?
Or maybe someone can tell me how I can produce a checksum of this archive to
compare it with the information given in the checksups file in the os2
directory on CPAN?
TIA for every helpful answer
Peter Seitz
http://wwwbzs.tu-graz.ac.at/~seitz
------------------------------
Date: Sat, 18 Jul 1998 22:40:15 GMT
From: Daniel Grisinger <dgris@rand.dimensional.com>
Subject: Regular expressions and HTML
Message-Id: <6or7j3$gkv$1@rand.dimensional.com>
I have often read that it is impossible to properly
match HTML using a single regular expression. I have
never seen an explanation, though, of whether this means
that it is impossible to reliably match a single tag,
or if it means that it is impossible to reliably match
a complete element.
In more concrete terms, is there a difference between
trying to match-
<img src= "rt-arrow.gif" alt= "==>" >
and
<p> This is a paragraph </p>
or do they both suffer from similar problems with
recursion?
Regards,
Daniel
--
Daniel Grisinger dgris@perrin.dimensional.com
"No kings, no presidents, just a rough consensus and
running code."
Dave Clark
------------------------------
Date: Sun, 19 Jul 1998 10:24:38 +0000
From: Art Haas <ahaas@neosoft.com>
Subject: Re: system() return values
Message-Id: <35B1C966.B703F6A5@neosoft.com>
Greg Coulombe wrote:
>
> I have a perplexing problem: when I call an external program from a
> system call, the return value is ALWAYS -1. After going through the
> number mangling suggested in the Camel book, this turns out to be a
> return code of 255. When I run the same command from the command line,
> it returns 0 (as I expected). Any thoughts on this mystery?
>
> --
> Greg Coulombe
> Programmer, Orlando Project
> Faculty of Arts
> coulombe@cs.ualberta.ca
>
> "It is easier to port a shell than a shell script."
> -- Larry Wall
Check the perldoc page 'perlfunc' for a listing of the system command.
$res = 0xffff & system('blah blah blah);
if($res == 0) {
{usually good news ...}
} else {
{usually trouble ...}
}
Art Haas.
------------------------------
Date: Sat, 18 Jul 1998 17:21:12 -0500
From: Dan Baker <dtbaker_@flash.net>
Subject: Re: WARNING: Newbie Inquiry - PERL Architecture
Message-Id: <35B11FD8.3E03@flash.net>
Quinn,M wrote:
...snip
> > Is it better to interrelate the 12 individual files that contain sub
> > routines using 'do' statements; or,
> >
> > Is it better to interrelate the individual files into one (rather long)
> > file. Granted, without PERL knowledge, the concept of a long file is
> > nebulous and subjective. With minimal but adequate use of white space
> > to facilitate human interpretation, the resulting single file will be
> > approximately 9,000 lines long.
-------------
well, I may get corrected on this one, but I would assume that since
Perl is an interpreted language, it just depends if you want to chew up
the time and memory all up front if everything is in one file, or in
pieces if it is in subs. The NET results of compile times are probably
pretty much the same. There are probably lots of variables depending on
how many local variables you have declared that would determin how
memory gets allocated and released during runtime, but that memory use
would probably be *about* the same regardless of if it is in one file,
or several given the same functionality and code.
Depends on what's in those 9000 lines probably... if one whole section
is data, or another is a huge series of nested logic, it may make a
difference. I don't see how anyone can give you concrete information
other than perhaps go into detail about how the perl interpreter works
and the order it does things so you can draw you own conclusions.
Dan
# If you would like to reply-to directly, remove the _ from my username
* Use of my email address regulated by US Code Title 47,
Sec.227(a)(2)(B) *
------------------------------
Date: 12 Jul 98 21:33:47 GMT (Last modified)
From: Perl-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Special: Digest Administrivia (Last modified: 12 Mar 98)
Message-Id: <null>
Administrivia:
Special notice: in a few days, the new group comp.lang.perl.moderated
should be formed. I would rather not support two different groups, and I
know of no other plans to create a digested moderated group. This leaves
me with two options: 1) keep on with this group 2) change to the
moderated one.
If you have opinions on this, send them to
perl-users-request@ruby.oce.orst.edu.
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 3195
**************************************