[10270] in Perl-Users-Digest
Perl-Users Digest, Issue: 3863 Volume: 8
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Thu Oct 1 01:07:20 1998
Date: Wed, 30 Sep 98 22:00:16 -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, 30 Sep 1998 Volume: 8 Number: 3863
Today's topics:
Re: assign name and content of a variable provided from (Mark-Jason Dominus)
Re: CGI and file uploading (brian d foy)
Re: changing shell launched from system()? (Martien Verbruggen)
Re: Erasing read mail, with POP3 Client module? (Martien Verbruggen)
Re: File manipulation (Ronald J Kimball)
Re: File manipulation (Mark-Jason Dominus)
Re: File manipulation <ben@isolve.net>
Re: Help on sorting (Ronald J Kimball)
How to make your perl CGI programs multipage <anty_84@yahoo.com>
Re: How to make your perl CGI programs multipage <gadget@bc.sympatico.ca>
Re: Locking files, counter, unique serial number... (Martien Verbruggen)
Re: Locking files, counter, unique serial number... (Mark-Jason Dominus)
More than one name-value pair in one check box Jas@my-dejanews.com
Re: More than one name-value pair in one check box (brian d foy)
multiple name-value pair Jas@my-dejanews.com
Re: need a 10 milsec delay (Martien Verbruggen)
Newby needs help ! (James F)
Re: Premature end of script headers (brian d foy)
problem with shared object library on SGI <helgew@sdsc.edu>
Re: system function question (Martien Verbruggen)
Re: Word wrap for Perl (brian d foy)
Re: Word wrap for Perl <dparrish@gidora.zeta.org.au>
Special: Digest Administrivia (Last modified: 12 Mar 98 (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: 1 Oct 1998 00:18:02 -0400
From: mjd@op.net (Mark-Jason Dominus)
Subject: Re: assign name and content of a variable provided from a file
Message-Id: <6uuvpq$q0r$1@monet.op.net>
In article <3611C417.7F44@pfh.sel.alcatel.de>,
Schimpeler U. DP/EVA <USchimpeler@pfh.sel.alcatel.de> wrote:
>2. the problem: How to define a variable with the name given in column 1
>and assign the values stated in the columns following the name?
That is almost always a bad idea. See
<URL:http://www.plover.com/~mjd/perl/varvarname.html>
for an anecdote about what can go wrong.
As others in this thread have pointed out, you should probably use a
hash instead:
# read the contents of the file into the variable `%array'.
while (<>) {
my ($varname, @values) = split;
$array{$varname} = \@values;
}
...
@some_array = @{$array{'var_name_1'}};
print "@{$array{'var_name_2'}}\n";
# etc.
------------------------------
Date: Wed, 30 Sep 1998 23:09:36 -0400
From: comdog@computerdog.com (brian d foy)
Subject: Re: CGI and file uploading
Message-Id: <comdog-ya02408000R3009982309360001@news.panix.com>
Keywords: from just another new york perl hacker
In article <3612d54b.18546724@news.newsguy.com>, tNOchurch@gmuSPAM.eduALLOWED (Timothy Church) posted:
>I have tried to use the example from the CGI book on pg 152, but can't
>seem to get my script to read the file. Does anyone have an example
>that works?
which CGI book? did you try the example in the CGI.pm documentation?
--
brian d foy <comdog@computerdog.com>
CGI Meta FAQ <URL:http://computerdog.com/CGI_MetaFAQ.html>
Comprehensive Perl Archive Network (CPAN) <URL:http://www.perl.com>
Perl Mongers needs volunteers! <URL:http://www.pm.org/to-do.html>
------------------------------
Date: Thu, 01 Oct 1998 02:46:06 GMT
From: mgjv@comdyn.com.au (Martien Verbruggen)
Subject: Re: changing shell launched from system()?
Message-Id: <O1CQ1.517$9_.89664@nsw.nnrp.telstra.net>
In article <36129D10.E640C6AA@hotmail.com>,
Digital Puer <digital_puer@hotmail.com> writes:
> Hi, how do you change the shell that is launched from a system()
explicitly call it
my $rc = system("csh -c $program");
Martien
--
Martien Verbruggen |
Webmaster www.tradingpost.com.au |
Commercial Dynamics Pty. Ltd. | Curiouser and curiouser, said Alice.
NSW, Australia |
------------------------------
Date: Thu, 01 Oct 1998 02:41:40 GMT
From: mgjv@comdyn.com.au (Martien Verbruggen)
Subject: Re: Erasing read mail, with POP3 Client module?
Message-Id: <EZBQ1.514$9_.89664@nsw.nnrp.telstra.net>
In article <35eaffcb.1046743287@news.matrox.com>,
jnoviell@matrox.com (Joe Novielli) writes:
> Does anyone know a way to erase read mail with the POP3 module. (ie:
> Mail::POP3Client).
>
> I have a cgi script that can read the messages, but I don't know how I
> can delete them after they've been read.
Maybe you should read the documentation of the modules you want to use:
# perldoc Mail::POP3Client
[snip]
Delete Mark the specified message number as DELETED.
Becomes effective upon QUIT. Can be reset with a
Reset message.
[snip]
Is that what you want?
Please, read the documentation.
Martien
--
Martien Verbruggen |
Webmaster www.tradingpost.com.au | This matter is best disposed of from a
Commercial Dynamics Pty. Ltd. | great height, over water.
NSW, Australia |
------------------------------
Date: Wed, 30 Sep 1998 22:16:25 -0400
From: rjk@coos.dartmouth.edu (Ronald J Kimball)
Subject: Re: File manipulation
Message-Id: <1dg6v9f.7pmude13je7b4N@bay1-358.quincy.ziplink.net>
Ben Duncan <ben@isolve.net> wrote:
> How can I extract the email address that's within the ()'s?
($email) = /\([^)]+@[^)]+\)/;
--
_ / ' _ / - aka - rjk@coos.dartmouth.edu
( /)//)//)(//)/( Ronald J Kimball chipmunk@m-net.arbornet.org
/ http://www.ziplink.net/~rjk/
"It's funny 'cause it's true ... and vice versa."
------------------------------
Date: 30 Sep 1998 23:08:56 -0400
From: mjd@op.net (Mark-Jason Dominus)
Subject: Re: File manipulation
Message-Id: <6uuro8$poo$1@monet.op.net>
In article <36121622.8927B35B@isolve.net>, Ben Duncan <ben@isolve.net> wrote:
>> >New submission, posted from Fred (fred@domainname.com)
if (m/^ # Begins with:
New submission # this
.* # yak yak yak
\( # Then you see a parenthesis
(.*) # so remember the following text
\) # Until you see another parenthesis
/x) {
$email = $1;
}
------------------------------
Date: Thu, 01 Oct 1998 00:53:47 +0000
From: Ben Duncan <ben@isolve.net>
Subject: Re: File manipulation
Message-Id: <3612D29B.F333745D@isolve.net>
Hi!
Thanks for the code guys, I really appreciate it!
------------------------------
Date: Wed, 30 Sep 1998 22:16:26 -0400
From: rjk@coos.dartmouth.edu (Ronald J Kimball)
Subject: Re: Help on sorting
Message-Id: <1dg6vea.yqji4k1xaovikN@bay1-358.quincy.ziplink.net>
Greg Erskine <gerskine@rrippl.com.au> wrote:
> The code that follows is a example of what I am trying to do.
> Unfortunately, the results aren't what I expect. I have tried all
> the obvious (to me) sources of help. I suspect I am missing
> something obvious, but the more I try the more confused I get.
So.... What are the results that you expect, exactly?
--
_ / ' _ / - aka - rjk@coos.dartmouth.edu
( /)//)//)(//)/( Ronald J Kimball chipmunk@m-net.arbornet.org
/ http://www.ziplink.net/~rjk/
"It's funny 'cause it's true ... and vice versa."
------------------------------
Date: Wed, 30 Sep 1998 21:01:49 -0500
From: "Anthony Smith" <anty_84@yahoo.com>
Subject: How to make your perl CGI programs multipage
Message-Id: <6uunqd$9np$1@blue.hex.net>
This is a multi-part message in MIME format.
------=_NextPart_000_0007_01BDECB5.8A6432A0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Heres my question, all the previous programs I have made have been all =
contained on a single html page that never went anywhere except to html =
documents. How can I link to another part of the script that I have =
stored in a variable using either an html link or a button. Does it =
require a subroutine or what?
Heres a litte bit of my code so you know what im talking about:
##############
# Page A #
##############
print "
<html><head><title>$title</title></head>
<body bgcolor=3D\"$bgcolor\" text=3D\"$textcolor\" link=3D\"$linkcolor\" =
vlink=3D\"$vlinkcolor\" alink=3D\"$alinkcolor\">
<font face=3D\"$font\"><center><h1>$title</h1></center><p>
$startuppage
<center><h1></h1></center>
$cpyrtfoot
</body></html>\n";
###########
# Page B #
###########
$gamepage =3D "
<html><head><title>$title</title></head>
<body bgcolor=3D\"$bgcolor\" text=3D\"$textcolor\" link=3D\"$linkcolor\" =
vlink=3D\"$vlinkcolor\" alink=3D\"$alinkcolor\">
<font face=3D\"$font\"><center><h1>$title</h1></center><p><img =
src=3D\"$basedir/$card1\">
$cpyrtfoot
</body></html>\n";
Basically all I want to do is to make part A link to part B somehow.
Feel free to help me, even if it means critisizm :)
Anthony Smith
------=_NextPart_000_0007_01BDECB5.8A6432A0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>
<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR>
</HEAD>
<BODY>
<DIV>Heres my question, all the previous programs I have made have been =
all=20
contained on a single html page that never went anywhere except to html=20
documents. How can I link to another part of the script that I =
have stored=20
in a variable using either an html link or a button. Does it =
require a=20
subroutine or what?</DIV>
<DIV>Heres a litte bit of my code so you know what im talking =
about:</DIV>
<DIV> </DIV><FONT color=3D#000000 face=3D"Lucida Console" size=3D1>
<P><FONT face=3D"Courier New"><FONT =
size=3D2>##############</FONT></FONT><FONT=20
size=3D2></FONT></P>
<P><FONT face=3D"Courier New"><FONT size=3D2># Page =
A =20
#</FONT></FONT><FONT size=3D2></FONT></P>
<P><FONT face=3D"Courier New"><FONT =
size=3D2>##############</FONT></FONT><FONT=20
size=3D2></FONT></P>
<P><FONT face=3D"Courier New"><FONT size=3D2>print =
"</FONT></FONT><FONT=20
size=3D2></FONT></P>
<P><FONT face=3D"Courier New"><FONT =
size=3D2><html></FONT></FONT><FONT=20
face=3D"Courier New"><FONT=20
size=3D2><head><title>$title</title></head></FONT=
></FONT><FONT=20
size=3D2></FONT></P>
<P><FONT face=3D"Courier New"><FONT size=3D2><body =
bgcolor=3D\"$bgcolor\"=20
text=3D\"$textcolor\" link=3D\"$linkcolor\"=20
vlink=3D\"$vlinkcolor\"=20
alink=3D\"$alinkcolor\"></FONT></FONT><FONT =
size=3D2></FONT></P>
<P><FONT face=3D"Courier New"><FONT size=3D2><font=20
face=3D\"$font\"></FONT></FONT><FONT face=3D"Courier =
New"><FONT=20
size=3D2><center><h1>$title</h1></center><p>=
;</FONT></FONT><FONT=20
size=3D2></FONT></P>
<P><FONT face=3D"Courier New"><FONT =
size=3D2>$startuppage</FONT></FONT><FONT=20
size=3D2></FONT></P>
<P><FONT face=3D"Courier New"><FONT=20
size=3D2><center><h1></FONT></FONT></FONT><FONT =
color=3D#000000=20
face=3D"Lucida Console" size=3D1><FONT face=3D"Courier New"><FONT=20
size=3D2></h1></center></FONT></FONT><FONT =
size=3D2></FONT></P>
<P><FONT face=3D"Courier New"><FONT =
size=3D2>$cpyrtfoot</FONT></FONT><FONT=20
size=3D2></FONT></P>
<P><FONT face=3D"Courier New"><FONT =
size=3D2></body></FONT></FONT><FONT=20
face=3D"Courier New"><FONT =
size=3D2></html>\n";</FONT></FONT><FONT=20
size=3D2></FONT></P>
<P><FONT face=3D"Courier New"><FONT =
size=3D2>###########</FONT></FONT><FONT=20
size=3D2></FONT></P>
<P><FONT face=3D"Courier New"><FONT size=3D2># Page B =
#</FONT></FONT><FONT=20
size=3D2></FONT></P>
<P><FONT face=3D"Courier New"><FONT =
size=3D2>###########</FONT></FONT><FONT=20
size=3D2></FONT></P>
<P><FONT face=3D"Courier New"><FONT size=3D2>$gamepage =3D =
"</FONT></FONT><FONT=20
size=3D2></FONT></P>
<P><FONT face=3D"Courier New"><FONT =
size=3D2><html></FONT></FONT><FONT=20
face=3D"Courier New"><FONT=20
size=3D2><head><title>$title</title></head></FONT=
></FONT><FONT=20
size=3D2></FONT></P>
<P><FONT face=3D"Courier New"><FONT size=3D2><body =
bgcolor=3D\"$bgcolor\"=20
text=3D\"$textcolor\" link=3D\"$linkcolor\"=20
vlink=3D\"$vlinkcolor\"=20
alink=3D\"$alinkcolor\"></FONT></FONT></P>
<P><FONT face=3D"Courier New"><FONT size=3D2></FONT></FONT><FONT=20
face=3D"Courier New"><FONT size=3D2><font=20
face=3D\"$font\"></FONT></FONT><FONT face=3D"Courier =
New"><FONT=20
size=3D2><center><h1>$title</h1></center><p>=
;</FONT></FONT><FONT=20
face=3D"Courier New"><FONT size=3D2><img=20
src=3D\"$basedir/$card1\"></FONT></FONT><FONT =
size=3D2></FONT></P>
<P><FONT face=3D"Courier New"><FONT =
size=3D2>$cpyrtfoot</FONT></FONT></P>
<P><FONT face=3D"Courier New"><FONT size=3D2></FONT></FONT><FONT=20
face=3D"Courier New"><FONT size=3D2></body></FONT></FONT><FONT=20
face=3D"Courier New"><FONT =
size=3D2></html>\n";</FONT></FONT><FONT=20
size=3D2></FONT></P></FONT>
<DIV>Basically all I want to do is to make part A link to part B =
somehow.</DIV>
<DIV> </DIV>
<DIV>Feel free to help me, even if it means critisizm :)</DIV>
<DIV> </DIV>
<DIV>Anthony Smith</DIV></BODY></HTML>
------=_NextPart_000_0007_01BDECB5.8A6432A0--
------------------------------
Date: Wed, 30 Sep 1998 19:34:39 -0700
From: Fred Richards <gadget@bc.sympatico.ca>
To: Anthony Smith <anty_84@yahoo.com>
Subject: Re: How to make your perl CGI programs multipage
Message-Id: <3612EA3F.ECB00051@bc.sympatico.ca>
<HTML>
If you save each page as 'page1.html' and 'page2.html'.
<P>Then insert an anchor command into 'page1.html' where
<BR>you want it to be seen.
<P>IE:
<BR><a href="page2.html">
<BR>Link to page 2
<BR></a>
<P>Will place a '<U>Link to page 2</U>' in 'page1.html' that can be clicked.
<BR>Taking the user to your 'page2.html'.
<P>Hope this helps.
<P>Fred Richards
<BR>The Gadget Guy
<BR> </HTML>
------------------------------
Date: Thu, 01 Oct 1998 02:07:26 GMT
From: mgjv@comdyn.com.au (Martien Verbruggen)
Subject: Re: Locking files, counter, unique serial number...
Message-Id: <ytBQ1.510$9_.69647@nsw.nnrp.telstra.net>
In article <36126061.51DBA6FF@imchat.com>,
"Mark P." <imchat@imchat.com> writes:
> Try this sub. This is Selena Sols counter which works just great.
Great? not really.
Did you notice that the original poster was talking about locking the
file? Did you notice that that great code you submitted doesn't do
anything like that at all?
Martien
--
Martien Verbruggen |
Webmaster www.tradingpost.com.au | Inside every anarchy lurks an old boy
Commercial Dynamics Pty. Ltd. | network - Mitchell Kapor
NSW, Australia |
------------------------------
Date: 30 Sep 1998 23:46:21 -0400
From: mjd@op.net (Mark-Jason Dominus)
Subject: Re: Locking files, counter, unique serial number...
Message-Id: <6uutud$pr3$1@monet.op.net>
In article <Pine.HPP.3.96L.980929222031.23602B-100000@club.eng.cam.ac.uk>,
Nigel Parker <nigel.parker@iee.org> wrote:
>But I keep getting the following error:
>can't write rfp_counter: Bad file descriptor at C:\WebSite\cgi-shl\epmt.pl
>line 528, <FH> chunk 1.
1. Did you remember to say
use Fcntl;
? Otherwise, O_RDWR will be undefined, it'll be taken to be 0, and
that means you opened the file for reading only.
2. You code doesn't check to see if the `open' or `flock' succeeded.
Perhaps you don't have permission to open the file? Perhaps the file
doesn't exist? All this is consistent with the error you got.
Rewrite it like this:
sub get_and_update_rfp_counter {
sysopen(FH, "rfp_counter", O_RDWR|O_CREAT, 0644)
or die "Couldn't open rfp_counter: $!; aborting";
flock(FH, 2);
or die "Couldn't lock rfp_counter: $!; aborting";
my $count = <FH> || 0;
seek(FH, 0, 0);
truncate(FH, 0);
print FH $count+1, "\n";
close FH;
$form{'serial_no'} = "E-".substr($count, 0, -1);
}
Depending on the application, you may want to replace `die' with some
other function that delivers a diagnostic message to the appropriate place.
>PS What does <FILEHANDLE> mean (can't find it anywhere)?
It reads a line of data from the specified filehandle.
P.S.: Stay away from Selena Sol.
------------------------------
Date: Thu, 01 Oct 1998 01:52:57 GMT
From: Jas@my-dejanews.com
Subject: More than one name-value pair in one check box
Message-Id: <6uun9o$mj$1@nnrp1.dejanews.com>
Is it possible to have more than one name-value pair in one check box. I am
wanting to have Day, Month in one check box but am not sure of the format if
any to use. Any help is appreciated.
--
John
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
Date: Thu, 01 Oct 1998 00:31:13 -0400
From: comdog@computerdog.com (brian d foy)
Subject: Re: More than one name-value pair in one check box
Message-Id: <comdog-ya02408000R0110980031130001@news.panix.com>
Keywords: from just another new york perl hacker
In article <6uun9o$mj$1@nnrp1.dejanews.com>, Jas@my-dejanews.com posted:
>Is it possible to have more than one name-value pair in one check box. I am
>wanting to have Day, Month in one check box but am not sure of the format if
>any to use. Any help is appreciated.
Perl doesn't have check boxes. perhaps you wandered into the wrong
room? ;)
--
brian d foy <comdog@computerdog.com>
CGI Meta FAQ <URL:http://computerdog.com/CGI_MetaFAQ.html>
Comprehensive Perl Archive Network (CPAN) <URL:http://www.perl.com>
Perl Mongers needs volunteers! <URL:http://www.pm.org/to-do.html>
------------------------------
Date: Thu, 01 Oct 1998 02:08:08 GMT
From: Jas@my-dejanews.com
Subject: multiple name-value pair
Message-Id: <6uuo68$1pq$1@nnrp1.dejanews.com>
Is it possible to have more than one name-value entry in a check box. My
example is Day and Month in the same box. Any help is appreciated.
--
John
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
Date: Thu, 01 Oct 1998 02:10:33 GMT
From: mgjv@comdyn.com.au (Martien Verbruggen)
Subject: Re: need a 10 milsec delay
Message-Id: <twBQ1.512$9_.69647@nsw.nnrp.telstra.net>
In article <6usmq3$1id$1@nnrp02.primenet.com>,
"Doyle Johnson" <sales@madm.com> writes:
> I need to be able to ad a 10 milsec delay into a script before exicuting the
# perldoc perlfaq8
/How can I sleep() or alarm() for under a second?
Martien
--
Martien Verbruggen |
Webmaster www.tradingpost.com.au | I'm just very selective about what I
Commercial Dynamics Pty. Ltd. | accept as reality - Calvin
NSW, Australia |
------------------------------
Date: 1 Oct 1998 03:52:13 GMT
From: not@this.address (James F)
Subject: Newby needs help !
Message-Id: <3612ee3f.425207435@netnews.worldnet.att.net>
I downloaded the latest version of ActiveStates Perl (build 502) and
when I try to load in onto my NT server (running N.T 4.0) I get an
error message box. The box title is "PackageForTheWeb error" and the
error in the box reads: "System error during decompression."
I have uploaded this file several and it appears to be good.
I have successfully loaded this version on an NT workstation and it
works fine.
Can anyone help?
Thanks in advance.
------------------------------
Date: Wed, 30 Sep 1998 23:02:52 -0400
From: comdog@computerdog.com (brian d foy)
Subject: Re: Premature end of script headers
Message-Id: <comdog-ya02408000R3009982302520001@news.panix.com>
Keywords: from just another new york perl hacker
In article <3612c610.44352204@news.uml.edu>, pevets@yahoo.com (steve) posted:
> I just started using perl and i got a logging script that
although you are using Perl, this is really a problem with server
side includes. a newsgroup devoted to your server product would be
a better place to ask if you can't find the answer in your server
documentation.
>saves peopls info when they come to site. however when i execute it
>on my main page with <!--#exec cgi="/cgi-bin/log.pl" --> is gives me
>an error:
> Sep 30 19:51:54 1998] access to /cgi-bin/log.pl failed for
>129.63.122.134, reason: Premature end of script headers
note that your script must still return a valid HTTP header, as
seen in the documentation in the CGI Meta FAQ.
--
brian d foy <comdog@computerdog.com>
CGI Meta FAQ <URL:http://computerdog.com/CGI_MetaFAQ.html>
Comprehensive Perl Archive Network (CPAN) <URL:http://www.perl.com>
Perl Mongers needs volunteers! <URL:http://www.pm.org/to-do.html>
------------------------------
Date: Wed, 30 Sep 1998 19:59:16 -0700
From: Helge Weissig <helgew@sdsc.edu>
Subject: problem with shared object library on SGI
Message-Id: <Pine.SGI.4.03.9809301937060.26298-100000@surfer.sdsc.edu>
Hi,
I am trying to make use of a C++ library within perl via xs. While
I have everything working nicely as it should on a Sun, I have labored now
for hours to port the same to an SGI (I know it's possible, I did it once
but the approach does not work anymore). Basically, everything compiles
as it should but my perl test script dumps core or produces gibberish that
looks like there is a memory problem.
I am not including any code as the C++ library is somewhat extensive and
without it, the *.xs files do not make much sense. They are almost pure
C++ code anyways with just the bare bones xs definitions of the classes
and their methods.
Here are my questions, any input or pointers would be highly appreciated
(I HAVE looked at the FAQ, Deja Vu and Hotbot/Alta-Vista!!):
* Could my problems stem from the fact that I am using a perl executable
which was compiled for IP19-IRIX on an IP32-IRIX box? I am asking this
because the .so files compiled for IP27-IRIX do not work for IP19-IRIX:
----
Can't load '<path>/lib/perl5/site_perl/IP19-irix/auto/POM/Info/Info.so'
for module POM::Info: 21452:/usr/local/bin/perl: rld: Fatal Error:
unresolvable symbol in
<path>/lib/perl5/site_perl/IP19-irix/auto/POM/Info/Info.so: Perl_sv_undef
at /usr/local/lib/perl5/5.00502/IP19-irix/DynaLoader.pm line 168.
----
* Is the perlobject.map file different between different perl5
executables?
* Why is this soooo hard??? (I fought through all the '-n32' vs '-o32'
crap to get the stuff to compile, running into copious 'ld32: WARNING 84'
errors in the process; None of these errors show up during compilation
now, which (mis)leads me to think that I solved *those*)
again, thanks for any input!
here are platform and perl version details:
perl -v => 5.005_02 built for IP19-irix
uname -a => IRIX wormhole 6.3 12161207 IP32 (this is where I need it to
work)
cheers,
h.
PS: e-mail copy of postings would be dandy!! :))
------------------------------
Date: Thu, 01 Oct 1998 02:08:55 GMT
From: mgjv@comdyn.com.au (Martien Verbruggen)
Subject: Re: system function question
Message-Id: <XuBQ1.511$9_.69647@nsw.nnrp.telstra.net>
In article <3612B5D4.3E9FBE78@spider.herston.uq.edu.au>,
Jaime Metcher <metcher@spider.herston.uq.edu.au> writes:
> Martien Verbruggen wrote:
>> chomp;
>
> # Should be...
> chomp $line;
exactly. Sorry.
--
Martien Verbruggen |
Webmaster www.tradingpost.com.au | I think there is a world market for
Commercial Dynamics Pty. Ltd. | maybe five computers. --Thomas Watson,
NSW, Australia | chairman IBM, 1943
------------------------------
Date: Wed, 30 Sep 1998 23:08:57 -0400
From: comdog@computerdog.com (brian d foy)
Subject: Re: Word wrap for Perl
Message-Id: <comdog-ya02408000R3009982308570001@news.panix.com>
Keywords: from just another new york perl hacker
In article <3612DDDB.AA036A80@killkenny.com>, Justin Archie <thealienz@killkenny.com> posted:
>I am looking for just some function that will take a string that is
>multiline. And I give it a delimeter of 72, the size of the string to
>word wrapping. Can anyone help me?
there are a couple of Text::* modules that do such things. Gabor's
are the newest and improvest iirc :)
--
brian d foy <comdog@computerdog.com>
CGI Meta FAQ <URL:http://computerdog.com/CGI_MetaFAQ.html>
Comprehensive Perl Archive Network (CPAN) <URL:http://www.perl.com>
Perl Mongers needs volunteers! <URL:http://www.pm.org/to-do.html>
------------------------------
Date: 1 Oct 1998 03:08:51 GMT
From: David Parrish <dparrish@gidora.zeta.org.au>
Subject: Re: Word wrap for Perl
Message-Id: <6uuro3$1et$1@phaedrus.zeta.org.au>
Justin Archie <thealienz@killkenny.com> wrote:
> I am looking for just some function that will take a string that is
> multiline. And I give it a delimeter of 72, the size of the string to
> word wrapping. Can anyone help me?
If you are using a real o/s then you can pipe it to the "fmt" command.
--
--------------------------------------------------------------------
David Parrish dparrish@zeta.org.au
Zeta Internet Technical Manager http://www.zeta.org.au/
--------------------------------------------------------------------
Mein Luftkissenfahrzueg ist mit Aale besetzt.
--------------------------------------------------------------------
------------------------------
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 3863
**************************************