[17816] in Perl-Users-Digest
Perl-Users Digest, Issue: 5236 Volume: 9
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Thu Jan 4 18:36:28 2001
Date: Thu, 4 Jan 2001 15:36:11 -0800 (PST)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Message-Id: <978651370-v9-i5236@ruby.oce.orst.edu>
Content-Type: text
Perl-Users Digest Thu, 4 Jan 2001 Volume: 9 Number: 5236
Today's topics:
Newline and various platforms <jhelman@wsb.com>
Re: Newline and various platforms (Garry Williams)
Re: Newline and various platforms <mjcarman@home.com>
Re: Newline and various platforms <flavell@mail.cern.ch>
newsreader suggestions? <daneman@planet.nl>
Re: newsreader suggestions? (Tad McClellan)
Re: newsreader suggestions? <daneman@planet.nl>
Re: newsreader suggestions? <nospam@nospam.com>
Re: newsreader suggestions? (Anno Siegel)
Re: newsreader suggestions? (Martien Verbruggen)
Re: newsreader suggestions? (Tad McClellan)
Re: newsreader suggestions? <dsimonis@fiderus.com>
Re: newsreader suggestions? <rrocky@bigfoot.com>
Re: newsreader suggestions? <daneman@planet.nl>
Re: Novice: problem with variables <rvdzant@planet.nl>
number of characters in a variable <rjmagyar@unix.amherst.edu>
Re: number of characters in a variable <montuori@arrakisplanet.com>
Re: number of characters in a variable (Tad McClellan)
Re: number of characters in a variable (Steve)
Re: number of characters in a variable <bart.lateur@skynet.be>
Digest Administrivia (Last modified: 16 Sep 99) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Wed, 03 Jan 2001 03:42:39 GMT
From: Jeff Helman <jhelman@wsb.com>
Subject: Newline and various platforms
Message-Id: <fg755t44fnulvg689b6dl3u4bqjv4t74f1@4ax.com>
Greetings all. I'm hoping someone can point me in the correct
direction here. As we all know, the generic text-file "newline" may
be represented by different character(s) on different systems
(\015\012 on Win32, \012 (traditionally) on *nix, \015 on Mac). Is
this "setting" stored anywhere useful? (I looked in Config but
couldn't find anything noteworthy.) Or do you just have to know the
mapping for each separate OS (which, to my way of thinking, is rather
less than portable)?
Any help is appreciated. Thanks in advance,
JH
------------------------------
Date: Wed, 03 Jan 2001 04:45:45 GMT
From: garry@zvolve.com (Garry Williams)
Subject: Re: Newline and various platforms
Message-Id: <Z7y46.1114$Dm5.34271@eagle.america.net>
On Wed, 03 Jan 2001 03:42:39 GMT, Jeff Helman <jhelman@wsb.com> wrote:
>Greetings all. I'm hoping someone can point me in the correct
>direction here. As we all know, the generic text-file "newline" may
>be represented by different character(s) on different systems
>(\015\012 on Win32, \012 (traditionally) on *nix, \015 on Mac). Is
>this "setting" stored anywhere useful? (I looked in Config but
>couldn't find anything noteworthy.) Or do you just have to know the
>mapping for each separate OS (which, to my way of thinking, is rather
>less than portable)?
The concept of "newline" as it is used in Perl is defined by the ANSI
C Standard Library (Input and Output -- stdio.h). The standard
defines "(a) _stream_ (as) a source or destination of data that may be
associated with a disk or other peripheral. The library supports text
streams ... A text stream is a sequence of lines; each line ... is
terminated by '\n'. An environment may need to convert a text stream
to or from some other representation (such as mapping '\n' to carriage
return and linefeed)." [1]
In other words, it's the C library that performs the conversions --
not perl. The implementors of the C library are responsible for the
mapping on any given platform.
The standard makes the stream concept quite portable. Perl supports
this portability with its use of the standard library on all
platforms. The Perl support for portability extends to things like
the chomp function and the regular expression meta-characters period
(.) and dollar ($).
--
Garry Williams
[1] Kernighan, Brian W. and Ritchie, Dennis M., "The C Programming
Language", Second Edition, Prentice Hall, Appendix B: Standard
Library.
------------------------------
Date: Wed, 03 Jan 2001 08:44:34 -0600
From: Michael Carman <mjcarman@home.com>
Subject: Re: Newline and various platforms
Message-Id: <3A533AD2.1D8513B0@home.com>
Jeff Helman wrote:
>
> As we all know, the generic text-file "newline" may
> be represented by different character(s) on different systems
> [...] Is this "setting" stored anywhere useful? [...] Or do
> you just have to know the mapping for each separate OS (which,
> to my way of thinking, is rather less than portable)?
Assuming that you're processing files in text mode (the default) you
don't need to know what the platform's concept of a newline is -- Perl
will translate between the OS's underlying representation and "\n" on
input/output. This feature is not in any of the $*^%#! variables -- it's
built into perl itself during compilation -- and is one of the things
that makes Perl very portable.
The rule of thumb is that you should always use binmode() on binary
files, and never use it on text files. That said, if you do binmode()
the filehandle for a text file (rarely a good idea, but occasionally
necessary) then it's up to you to handle newline processing yourself. In
that case you do need to know what the OS considers a newline to be and
you will have broken platform-independance.
-mjc
------------------------------
Date: Wed, 3 Jan 2001 16:31:50 +0100
From: "Alan J. Flavell" <flavell@mail.cern.ch>
Subject: Re: Newline and various platforms
Message-Id: <Pine.LNX.4.30.0101031628191.11117-100000@lxplus003.cern.ch>
On Wed, 3 Jan 2001, Michael Carman wrote:
> Jeff Helman wrote:
> >
> > As we all know, the generic text-file "newline" may
> > be represented by different character(s) on different systems
> > [...] Is this "setting" stored anywhere useful? [...] Or do
> > you just have to know the mapping for each separate OS (which,
> > to my way of thinking, is rather less than portable)?
>
> Assuming that you're processing files in text mode (the default) you
> don't need to know what the platform's concept of a newline is -- Perl
> will translate between the OS's underlying representation and "\n" on
> input/output.
Fully agree, as long as you're processing text files that are native
to the platform you're running on.
When doing socket programming on data being transferred
cross-platform, or when forced to handle files that are not native to
the platform (e.g Samba accessing MS-Windows files from unix), then
different considerations come into play. 'perldoc perlport' has some
useful comments on this kind of scenario.
cheers
------------------------------
Date: Wed, 3 Jan 2001 06:41:00 +0100
From: "Daneman" <daneman@planet.nl>
Subject: newsreader suggestions?
Message-Id: <92uduc$793e$1@reader04.wxs.nl>
(Hope this isn't OT)
Hello,
Up until now I have used Outlook Express as my newsreader.
The main reason I don't like it is that it stores emailmessages in some
'windows-only' binary fileformat, wich makes it impossible to access (search
or browse) them outside MS-emailsoftware.
Does anyone have a suggestion for a convinient newsreader that does allow
the user to store his mail in a self-chosen format and place?
Thanks in advance,
Daneman
daneman@planet.nl
(Chief executive nor senior software developer)
passme
------------------------------
Date: Wed, 3 Jan 2001 00:01:50 -0500
From: tadmc@metronet.com (Tad McClellan)
Subject: Re: newsreader suggestions?
Message-Id: <slrn955chu.hgt.tadmc@magna.metronet.com>
Daneman <daneman@planet.nl> wrote:
>Does anyone have a suggestion for a convinient newsreader that does allow
^^^^^^^^^^
>the user to store his mail in a self-chosen format and place?
^^^^^ ^^^^
Eh? What are you looking for? A newsreader or an email reader?
An email reader can save emails.
A newsreader can save news articles.
news is not email.
newsreaders are not related to Perl. Ask in a newsgroup that
has something to do with newsreaders (or, get clever and
look at the headers of folks that post here):
news.software.readers
nl.comp.software.newsreaders
--
Tad McClellan SGML consulting
tadmc@metronet.com Perl programming
Fort Worth, Texas
------------------------------
Date: Wed, 3 Jan 2001 10:04:28 +0100
From: "Daneman" <daneman@planet.nl>
Subject: Re: newsreader suggestions?
Message-Id: <92upuv$7kvs$1@reader01.wxs.nl>
Dear Tad,
It's obvious you're highly disturbed by my message, wich explains why you
didn't manage to simply recommend what you think is a good newsreader. Sorry
for that.
Thanks for the tip on 'how to get clever...' I always hoped someone would
tell me how to do it...
For the rest:
I'm not interested in discussing the ins and outs of newsreaders, so a
newsreaders newsgroup is not what I'm looking for. I'm just wondering if
someone on *this group* has some good advice for someone looking for
software to read the articles of *this group*.
Newsreaders are not related to Perl? But what if this newsreader is being
used to read Perlnewsgroups? Moreover, I could imagine someone having
written his own newsreader in Perl, willing to share his program with the
rest of the Perlworld.
Okay, so I thought emailreaders and newsreaders where basicly the same
thing. (and I must say I still believe they are, apart from the fact that
they connect to different servers and maybe handle the email different
internally)
But if there are major differences somehow, I would like to ask the same
question mutatis mutandus:
Does anyone have a suggestion for a convinient newsreader that allows
the user to store the newsarticles in a self-chosen format and place?
Thanks in advance,
Daneman
daneman@planet.nl
Tad McClellan <tadmc@metronet.com> schreef in berichtnieuws
slrn955chu.hgt.tadmc@magna.metronet.com...
> Daneman <daneman@planet.nl> wrote:
>
> >Does anyone have a suggestion for a convinient newsreader that does allow
> ^^^^^^^^^^
> >the user to store his mail in a self-chosen format and place?
> ^^^^^ ^^^^
>
> Eh? What are you looking for? A newsreader or an email reader?
>
> An email reader can save emails.
>
> A newsreader can save news articles.
>
> news is not email.
>
>
> newsreaders are not related to Perl. Ask in a newsgroup that
> has something to do with newsreaders (or, get clever and
> look at the headers of folks that post here):
>
> news.software.readers
> nl.comp.software.newsreaders
>
>
> --
> Tad McClellan SGML consulting
> tadmc@metronet.com Perl programming
> Fort Worth, Texas
------------------------------
Date: 3 Jan 2001 09:24:06 GMT
From: The WebDragon <nospam@nospam.com>
Subject: Re: newsreader suggestions?
Message-Id: <92ur3m$a34$0@216.155.33.98>
In article <92upuv$7kvs$1@reader01.wxs.nl>, "Daneman"
<daneman@planet.nl> wrote:
| Does anyone have a suggestion for a convinient newsreader that allows
| the user to store the newsarticles in a self-chosen format and place?
MT-Newswatcher 3.0 for MacOS.
--
send mail to mactech (at) webdragon (dot) net instead of the above address.
this is to prevent spamming. e-mail reply-to's have been altered
to prevent scan software from extracting my address for the purpose
of spamming me, which I hate with a passion bordering on obsession.
------------------------------
Date: 3 Jan 2001 11:00:46 GMT
From: anno4000@lublin.zrz.tu-berlin.de (Anno Siegel)
Subject: Re: newsreader suggestions?
Message-Id: <92v0ou$5er$1@mamenchi.zrz.TU-Berlin.DE>
Daneman <daneman@planet.nl> wrote in comp.lang.perl.misc:
>Tad McClellan <tadmc@metronet.com> schreef in berichtnieuws
[text rearranged]
Please post your reply *under* the properly trimmed quoted text.
>> newsreaders are not related to Perl. Ask in a newsgroup that
>> has something to do with newsreaders (or, get clever and
>> look at the headers of folks that post here):
>Dear Tad,
>
>It's obvious you're highly disturbed by my message, wich explains why you
>didn't manage to simply recommend what you think is a good newsreader. Sorry
>for that.
>Thanks for the tip on 'how to get clever...' I always hoped someone would
>tell me how to do it...
>
>For the rest:
>
>I'm not interested in discussing the ins and outs of newsreaders, so a
>newsreaders newsgroup is not what I'm looking for. I'm just wondering if
>someone on *this group* has some good advice for someone looking for
>software to read the articles of *this group*.
You might as well ask clpm about your new glasses because you are going
to use them to read articles about Perl.
>Newsreaders are not related to Perl? But what if this newsreader is being
>used to read Perlnewsgroups? Moreover, I could imagine someone having
>written his own newsreader in Perl, willing to share his program with the
>rest of the Perlworld.
A CPAN search would clear that up readily. Here is one URL:
http://theoryx5.uwinnipeg.ca/CPAN/cpan-search.html
Anno
------------------------------
Date: Wed, 3 Jan 2001 22:11:06 +1100
From: mgjv@tradingpost.com.au (Martien Verbruggen)
Subject: Re: newsreader suggestions?
Message-Id: <slrn95626a.edk.mgjv@martien.heliotrope.home>
On Wed, 3 Jan 2001 10:04:28 +0100,
Daneman <daneman@planet.nl> wrote:
> I'm not interested in discussing the ins and outs of newsreaders, so a
> newsreaders newsgroup is not what I'm looking for. I'm just wondering if
> someone on *this group* has some good advice for someone looking for
> software to read the articles of *this group*.
You post an offtopic question, get pointed to the correct group, and
complain. Furthermore, you do this by posting upside down. This has
almost certainly landed you in the killfile of many people. Not a good
idea. Most certainly not a good idea.
Have you read the stuff that gets posted regularly to
news.announce.newusers? (That is if they still bother there). or have
you gone through the trouble of reading a few things on this newsgroup
before posting your totally irrelevant offtopic question? You would have
_known_ not to post that here.
Anyway, I hope you get a newsreader that gets scored up by my scorefile,
otherwise I'll have to miss your future posts. Pity.
Martien
--
Martien Verbruggen |
Interactive Media Division | I used to have a Heisenbergmobile.
Commercial Dynamics Pty. Ltd. | Every time I looked at the
NSW, Australia | speedometer, I got lost.
------------------------------
Date: Wed, 3 Jan 2001 09:22:33 -0500
From: tadmc@metronet.com (Tad McClellan)
Subject: Re: newsreader suggestions?
Message-Id: <slrn956dd9.ilp.tadmc@magna.metronet.com>
Daneman <daneman@planet.nl> wrote:
>Dear Tad,
>
>It's obvious you're highly disturbed by my message,
No I'm not.
>wich explains why you
>didn't manage to simply recommend what you think is a good newsreader.
'slrn' just like my headers say.
I didn't suggest it because I don't know if it is available
for whatever platform it is that you want to use.
>Thanks for the tip on 'how to get clever...' I always hoped someone would
>tell me how to do it...
The point was you don't need to ask. Simply look at the headers
and see what people here are using.
>I'm just wondering if
>someone on *this group* has some good advice for someone looking for
>software to read the articles of *this group*.
Look at the headers of articles posted to this group.
>Newsreaders are not related to Perl?
Right.
>But what if this newsreader is being
>used to read Perlnewsgroups?
Perl newsgroups are no different from other newsgroups.
If you read alt.disney then you would want a Mickey Mouse newsreader?
>Moreover, I could imagine someone having
>written his own newsreader in Perl, willing to share his program with the
>rest of the Perlworld.
You did not ask for a newsreader written in Perl.
If that is what you want, then that is what you should ask for.
You did not say anything about wanting it written in any
particular language. You did not even say anything about
wanting one with source code.
If that is what you want, then that is what you should ask for.
>Okay, so I thought emailreaders and newsreaders where basicly the same
>thing. (and I must say I still believe they are
You are wrong.
SMTP is used for email. NNTP is used for news.
news is not email.
[ snip Jeopardy quote of entire article including the .sig ]
--
Tad McClellan SGML consulting
tadmc@metronet.com Perl programming
Fort Worth, Texas
------------------------------
Date: Wed, 03 Jan 2001 12:08:49 -0500
From: Drew Simonis <dsimonis@fiderus.com>
To: Daneman <daneman@planet.nl>
Subject: Re: newsreader suggestions?
Message-Id: <3A535CA1.6728EE3F@fiderus.com>
Daneman wrote:
>
> Dear Tad,
>
> It's obvious you're highly disturbed by my message, wich explains why you
> didn't manage to simply recommend what you think is a good newsreader. Sorry
> for that.
> Thanks for the tip on 'how to get clever...' I always hoped someone would
> tell me how to do it...
>
That's kinda funny, but Tad was completely correct... and you are gone.
------------------------------
Date: Wed, 03 Jan 2001 10:10:57 -0800
From: Rocky Raccoon <rrocky@bigfoot.com>
Subject: Re: newsreader suggestions?
Message-Id: <3A536B31.97F25A00@bigfoot.com>
Daneman wrote:
>
> Dear Tad,
>
> It's obvious you're highly disturbed by my message, wich explains why you
> didn't manage to simply recommend what you think is a good newsreader. Sorry
> for that.
> Thanks for the tip on 'how to get clever...' I always hoped someone would
> tell me how to do it...
>
> For the rest:
>
> I'm not interested in discussing the ins and outs of newsreaders, so a
> newsreaders newsgroup is not what I'm looking for. I'm just wondering if
> someone on *this group* has some good advice for someone looking for
> software to read the articles of *this group*.
>
> Newsreaders are not related to Perl? But what if this newsreader is being
> used to read Perlnewsgroups?
I like to drink beer when programming Perl. Should I ask for beer
recommendations.
I use the keyboard to type posts to the Perl NG's. Should I ask keyboard
recco's. I use an OS to launch my newsreader to read perl NG's. Should I
ask for
OS recco's here. .. You get the message.
--
Rocky
RSC - http://www.slack.net/~shiva/rsc.html
------------------------------
Date: Wed, 3 Jan 2001 19:32:59 +0100
From: "Daneman" <daneman@planet.nl>
Subject: Re: newsreader suggestions?
Message-Id: <92vr9o$7pr8$1@reader02.wxs.nl>
Thank you all dear friends. Shall we change subject now?
Daneman
Daneman <daneman@planet.nl> schreef in berichtnieuws
92upuv$7kvs$1@reader01.wxs.nl...
> Dear Tad,
>
> It's obvious you're highly disturbed by my message, wich explains why you
> didn't manage to simply recommend what you think is a good newsreader.
Sorry
> for that.
> Thanks for the tip on 'how to get clever...' I always hoped someone would
> tell me how to do it...
>
> For the rest:
>
> I'm not interested in discussing the ins and outs of newsreaders, so a
> newsreaders newsgroup is not what I'm looking for. I'm just wondering if
> someone on *this group* has some good advice for someone looking for
> software to read the articles of *this group*.
>
> Newsreaders are not related to Perl? But what if this newsreader is being
> used to read Perlnewsgroups? Moreover, I could imagine someone having
> written his own newsreader in Perl, willing to share his program with the
> rest of the Perlworld.
>
> Okay, so I thought emailreaders and newsreaders where basicly the same
> thing. (and I must say I still believe they are, apart from the fact that
> they connect to different servers and maybe handle the email different
> internally)
> But if there are major differences somehow, I would like to ask the same
> question mutatis mutandus:
>
> Does anyone have a suggestion for a convinient newsreader that allows
> the user to store the newsarticles in a self-chosen format and place?
>
> Thanks in advance,
>
> Daneman
> daneman@planet.nl
>
>
>
> Tad McClellan <tadmc@metronet.com> schreef in berichtnieuws
> slrn955chu.hgt.tadmc@magna.metronet.com...
> > Daneman <daneman@planet.nl> wrote:
> >
> > >Does anyone have a suggestion for a convinient newsreader that does
allow
> > ^^^^^^^^^^
> > >the user to store his mail in a self-chosen format and place?
> > ^^^^^ ^^^^
> >
> > Eh? What are you looking for? A newsreader or an email reader?
> >
> > An email reader can save emails.
> >
> > A newsreader can save news articles.
> >
> > news is not email.
> >
> >
> > newsreaders are not related to Perl. Ask in a newsgroup that
> > has something to do with newsreaders (or, get clever and
> > look at the headers of folks that post here):
> >
> > news.software.readers
> > nl.comp.software.newsreaders
> >
> >
> > --
> > Tad McClellan SGML consulting
> > tadmc@metronet.com Perl programming
> > Fort Worth, Texas
>
>
------------------------------
Date: Sat, 30 Dec 2000 01:24:25 +0100
From: "R.C. van der Zant" <rvdzant@planet.nl>
Subject: Re: Novice: problem with variables
Message-Id: <3A4D2B39.370AA616@planet.nl>
Thanks for your suggestion, nobull@mail.com !
I'll give the persistent option a try.
The other option won't be very wise as I'm trying not to give away
password information and I've found that this method works well.
Thanks once again !
------------------------------
Date: Fri, 29 Dec 2000 19:34:48 GMT
From: RUDOLPH JOHN MAGYAR <rjmagyar@unix.amherst.edu>
Subject: number of characters in a variable
Message-Id: <3a4ce8be$1@amhnt2.amherst.edu>
Let's suppose I want to know how many digits (including the decimal sign) are in a variable. Is there a perl command which does this?
--
Rudolph J. Magyar
rjmagyar@amhux4.amherst.edu
Web Address: www.amherst.edu/~rjmagyar
------------------------------
Date: Fri, 29 Dec 2000 14:51:49 -0500
From: kevin montuori <montuori@arrakisplanet.com>
Subject: Re: number of characters in a variable
Message-Id: <ydyhf3nngz9.fsf@kulon.arrakisplanet.com>
>>> RUDOLPH JOHN MAGYAR writes:
rjm> Let's suppose I want to know how many digits (including the
rjm> decimal sign) are in a variable. Is there a perl command which
rjm> does this?
gee, i don't know about a command, but you could certainly
write a little program:
use strict;
my $var = 12345.6789;
my $count = 0;
for (my $i = 0; $i < scalar split '' => $var; $i++) { $count++ }
print "length is: $count\n";
hope this helps.
k.
--
kevin montuori
support independent booksellers -- http://www.booksense.com
------------------------------
Date: Fri, 29 Dec 2000 13:03:48 -0500
From: tadmc@metronet.com (Tad McClellan)
Subject: Re: number of characters in a variable
Message-Id: <slrn94pkg4.13h.tadmc@magna.metronet.com>
RUDOLPH JOHN MAGYAR <rjmagyar@unix.amherst.edu> wrote:
>Let's suppose I want to know how many digits (including the decimal sign)
>are in a variable. Is there a perl command which does this?
Yes.
What have you tried? If you show us your code we can help you fix it.
s/// or tr/// might work. Have you tried those?
perldoc perlop
perldoc perlre
perldoc -q number
"How do I determine whether a scalar is a number/whole/integer/float?"
Adapting the answer given in the FAQ:
if (/^(-?\d+\.?\d*)$/) {
my $len = length $1;
print "there are $len characters in the number '$_'\n";
}
--
Tad McClellan SGML consulting
tadmc@metronet.com Perl programming
Fort Worth, Texas
------------------------------
Date: 29 Dec 2000 20:30:02 GMT
From: steve@zeropps.uklinux.net (Steve)
Subject: Re: number of characters in a variable
Message-Id: <slrn94pqfj.1eb.steve@zero-pps.localdomain>
On Fri, 29 Dec 2000 19:34:48 GMT, RUDOLPH JOHN MAGYAR wrote:
>Let's suppose I want to know how many digits (including the decimal sign) are in a variable. Is there a perl command which does this?
perldoc -f length
It's always a good idea to have a look around the docs before
posting what you think is a simple question.
--
Cheers
Steve email mailto:steve@zeropps.uklinux.net
%HAV-A-NICEDAY Error not enough coffee 0 pps.
web http://www.zeropps.uklinux.net/
or http://start.at/zero-pps
7:41pm up 11 days, 7:02, 3 users, load average: 1.04, 1.06, 1.02
------------------------------
Date: Fri, 29 Dec 2000 23:22:27 GMT
From: Bart Lateur <bart.lateur@skynet.be>
Subject: Re: number of characters in a variable
Message-Id: <3q6q4to7e6t9clgdh3eptmhb9qe2c4cfil@4ax.com>
RUDOLPH JOHN MAGYAR wrote:
>Let's suppose I want to know how many digits (including the decimal
>sign) are in a variable. Is there a perl command which does this?
A decimal sign is not a digit.
$_ = '-123.4567E+10';
$digits = tr/0-9//;
print "There are $digits digits in '$_'\n";
->
There are 9 digits in '-123.4567E+10'
Perhaps you want to know how long, starting from the left of the string,
the length of a substring that forms a valid number, is? Well, create
the appropriate pattern, do a pattern match, and test the length of what
it matched.
$num = '-?(?:\d+\.?\d*|\.\d+)(?:E[+-]\d+)?';
$_ = '-123.4567 and some more';
/^($num)/o and print "I matched '$1'\n";
-->
I matched '-123.4567'
--
Bart.
------------------------------
Date: 16 Sep 99 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Digest Administrivia (Last modified: 16 Sep 99)
Message-Id: <null>
Administrivia:
The Perl-Users Digest is a retransmission of the USENET newsgroup
comp.lang.perl.misc. For subscription or unsubscription requests, send
the single line:
subscribe perl-users
or:
unsubscribe perl-users
to almanac@ruby.oce.orst.edu.
| NOTE: The mail to news gateway, and thus the ability to submit articles
| through this service to the newsgroup, has been removed. I do not have
| time to individually vet each article to make sure that someone isn't
| abusing the service, and I no longer have any desire to waste my time
| dealing with the campus admins when some fool complains to them about an
| article that has come through the gateway instead of complaining
| to the source.
To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.
To request back copies (available for a week or so), send your request
to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
where x is the volume number and y is the issue number.
For other requests pertaining to the digest, send mail to
perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
sending perl questions to the -request address, I don't have time to
answer them even if I did know the answer.
------------------------------
End of Perl-Users Digest V9 Issue 5236
**************************************