[28785] in Perl-Users-Digest
Perl-Users Digest, Issue: 29 Volume: 11
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Sun Jan 14 18:10:18 2007
Date: Sun, 14 Jan 2007 15:10:10 -0800 (PST)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Perl-Users Digest Sun, 14 Jan 2007 Volume: 11 Number: 29
Today's topics:
Re: How do you Call a Perl subroutine with a variable n <louisREMOVE@REMOVEh4h.com>
Re: How do you Call a Perl subroutine with a variable n <tadmc@augustmail.com>
Re: How to know datatype of a variable in perl ? (NOSPAM)
Re: Parsing some input - easy to explain but lengthy to <purlgurl@purlgurl.net>
Re: Parsing some input - easy to explain but lengthy to <purlgurl@purlgurl.net>
Re: Parsing some input - easy to explain but lengthy to <purlgurl@purlgurl.net>
Re: Parsing some input - easy to explain but lengthy to <tadmc@augustmail.com>
Re: Perl free e-books <spamtrap@dot-app.org>
Re: Perl free e-books <anonymous@127.0.0.1>
Re: Perl free e-books <jurgenex@hotmail.com>
Re: Perl free e-books <john@castleamber.com>
Re: Perl free e-books <hjp-usenet2@hjp.at>
Re: Perl free e-books <tadmc@augustmail.com>
Re: Perl free e-books <jwkenne@attglobal.net>
Re: Perl free e-books <spamtrap@dot-app.org>
Re: problems cgi ex cook book perl (NOSPAM)
Re: problems cgi ex cook book perl <tadmc@augustmail.com>
Re: problems cgi ex cook book perl <tadmc@augustmail.com>
Re: Unix commands <m@remove.this.part.rtij.nl>
Re: Unix commands <john@castleamber.com>
Re: Unix commands <tadmc@augustmail.com>
Re: wall command from perl xhoster@gmail.com
Re: wall command from perl <tadmc@augustmail.com>
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Sun, 14 Jan 2007 09:04:10 -0800
From: "Wayne M. Poe" <louisREMOVE@REMOVEh4h.com>
Subject: Re: How do you Call a Perl subroutine with a variable name?
Message-Id: <50v64lF1ib85hU1@mid.individual.net>
Brian McCauley wrote:
> fred.illig@lmco.com (Fred) spits TOFU in Tad's face:
>
>> Thanks
>
> Please express your thanks by learning how to quote properly.
>
> Failure to do not only makes you appear rude and arrogant but may even
> cause you get "killfiled" (your posts are automatically ignored) by
> many of the most knowledgable people here.
>
> --
> \\ ( )
> . _\\__[oo
> .__/ \\ /\@
> . l___\\
> # ll l\\
> ###LL LL\\
I fully understand that replying below the relevant text is the most
appreciate way. That is not what I wish to dispute.
What I really dislike here is the approach you (and others sometimes)
take in conveying this information.
May I shouldn't of watched the God Father yesterday on television, but
later when I was doing a search on Google Groups, and read this thread,
this Mr. McCauley, who otherwise is a helpful person, made it look like
Fred was being threatened by the mob, so to speak.
Telling someone "makes you appear rude and arrogant", seems just way
more than needed to be said. Yes, posting below what you are replying to
is the accepted UseNet (and other medium) manner, but I never saw it
written that it's the *only* way that can be utilized.
The fact that so many miss, that despite what user-agent one uses (yes,
MS had a penchant for starting the cursor at the top in their basic
reader), to many people, posting at the top can be more convenient for
simple replies - it's just when the entire body is quoted beneath it
that really makes it wrong in my eyes.
All I ask is, don't try to imply the *REASON* someone is try to appear a
certain way, just because you see it as that. It doesn't mean *everyone*
does. Especially when it amounts to a general lack of understanding in
the posting department. Many people just aren't used to posting in the
*same way* you are.
Some habits are hard to break, it doesn't mean someone is trying to be
rude. Implying that they are is akin to trying to play "Miss Manners" on
every person you see in the super market; yes, there may be unwritten
rules that people in the know adhere to, but many may not know of them,
or be looking from an entirely different angle.
My apologies for replying to an old thread, but thoughts and opinions
know no barriers :)
------------------------------
Date: Sun, 14 Jan 2007 16:02:17 -0600
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: How do you Call a Perl subroutine with a variable name?
Message-Id: <slrneqla39.2rs.tadmc@tadmc30.august.net>
Wayne M. Poe <louisREMOVE@REMOVEh4h.com> wrote:
> Brian McCauley wrote:
>> fred.illig@lmco.com (Fred) spits TOFU in Tad's face:
>>
>>> Thanks
>>
>> Please express your thanks by learning how to quote properly.
>>
>> Failure to do not only makes you appear rude and arrogant but may even
>> cause you get "killfiled" (your posts are automatically ignored) by
>> many of the most knowledgable people here.
>>
>> --
>> \\ ( )
>> . _\\__[oo
>> .__/ \\ /\@
>> . l___\\
>> # ll l\\
>> ###LL LL\\
>
>
> I fully understand that replying below the relevant text is the most
> appreciate way. That is not what I wish to dispute.
That's a relief!
> What I really dislike here is the approach you (and others sometimes)
> take in conveying this information.
Then simply post a few more forgeries to "even it out".
> May I shouldn't of watched the God Father yesterday on television, but
> later when I was doing a search on Google Groups, and read this thread,
> this Mr. McCauley, who otherwise is a helpful person, made it look like
> Fred was being threatened by the mob, so to speak.
There was a "contract" out on the OP that he was unaware of.
> Telling someone "makes you appear rude and arrogant", seems just way
> more than needed to be said.
Knowing that you risk becoming ignored is a _good_ thing.
It allows you to make an informed decision.
You seem to be in favor of leaving the OP in ignorance, to suffer
consequences that he was unaware of?
That's not very nice.
> Yes, posting below what you are replying to
> is the accepted UseNet (and other medium) manner, but I never saw it
> written that it's the *only* way that can be utilized.
It is not the only way that can be utilized.
It is the only way that is socially acceptable.
> All I ask is,
We will all get right on doing things the way you want.
Thanks for showing us your light.
> don't try to imply the *REASON* someone is try to appear a
> certain way, just because you see it as that. It doesn't mean *everyone*
> does. Especially when it amounts to a general lack of understanding in
> the posting department. Many people just aren't used to posting in the
> *same way* you are.
Then they need to be educated before it is Too Late.
--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas
------------------------------
Date: Sun, 14 Jan 2007 13:47:42 -0600
From: "Mumia W. (NOSPAM)" <paduille.4060.mumia.w+nospam@earthlink.net>
Subject: Re: How to know datatype of a variable in perl ?
Message-Id: <eoe3b8$tun$1@aioe.org>
On 01/14/2007 03:20 AM, Googy wrote:
> Hi,
>
> I am writing a program using AutoLoader and it has to simulate 10's of
> sub routines, the problem I have is every simulated function has
> different number of arguments and different number of argument types in
> different orders.
>
> Is there any method or sub routines to know the data type of the
> argument ?
>
> I know there are functions like is_array, is_hash, is_object, ... and
> ref (), but I think these are only for reference types(please correct
> me if I am wrong), simply put I need a routine which can tell the data
> type of a variable like array, hash, vector.
>
> Thanks.
>
You would probably need to pass an array or hash by reference, so ref()
should do the job. If by 'vector,' you mean a Bit::Vector object, ref()
will also do.
Arrays and hashes need to be passed to subroutines by reference since
Perl loses the structure of arrays and hashes that are passed directly.
--
Windows Vista and your freedom in conflict:
http://www.securityfocus.com/columnists/420/2
------------------------------
Date: Sun, 14 Jan 2007 08:30:03 -0800
From: Purl Gurl <purlgurl@purlgurl.net>
Subject: Re: Parsing some input - easy to explain but lengthy to code - suggestions?
Message-Id: <45AA5A8B.8050803@purlgurl.net>
doolittle wrote:
> The rule is that the first character must be a letter, and the second
> and third characters must form a number between 1 and 25 (so the third
> character is optional)
Your article is near gibberish.
"...form a number between 1 and 25...."
This would be the number set two through twenty-four,
inclusively, not one through twenty-five, inclusively,
ignoring fractional numbers; whole numbers only.
"...the second and third characters must form a number
between 1 and 25 (so the third character is optional)...."
No, per your rules the second character is optional OR
the third character is optional. Your second character
must be a number OR your third character must be a number
OR both the second and third characters must be numbers.
In the future, work towards writing articles which are
clear, concise and cohesive; avoid near gibberish.
Purl Gurl
#!perl
@Array = qw (a123 B456 c7d8 ef9g h.0i);
for (@Array)
{
$first = substr ($_, 0, 1);
$second = substr ($_, 1, 2);
if (!($first =~ /[a-z]/i))
{ print "First Test: $first - false\n"; }
if ( (!($second =~ /^[0-9]/)) || ($second > 25) )
{ print "Second Test: $second - false\n"; }
}
------------------------------
Date: Sun, 14 Jan 2007 08:43:16 -0800
From: Purl Gurl <purlgurl@purlgurl.net>
Subject: Re: Parsing some input - easy to explain but lengthy to code - suggestions?
Message-Id: <45AA5DA4.3030400@purlgurl.net>
Purl Gurl wrote:
> doolittle wrote:
> Your article is near gibberish.
> #!perl
A shorter but harder to read variation on my prior code,
#!perl
@Array = qw (a123 B456 c7d8 ef9g h.0i);
for (@Array)
{
if ((!($_ =~ /^[a-z][0-9]/i)) || (substr ($_, 1, 2) > 25))
{ print "Test: $_ - false\n"; }
}
------------------------------
Date: Sun, 14 Jan 2007 08:58:48 -0800
From: Purl Gurl <purlgurl@purlgurl.net>
Subject: Re: Parsing some input - easy to explain but lengthy to code - suggestions?
Message-Id: <45AA6148.6070307@purlgurl.net>
Purl Gurl wrote:
> Purl Gurl wrote:
>> doolittle wrote:
>> #!perl
> #!perl
(troll prevention):
Sorry, forgot to add, a condition of zero (0) for
your number is not considered in my code examples.
Should this be a need, easy to code for this condition.
In the future, provide precise examples of input data.
Purl Gurl
------------------------------
Date: Sun, 14 Jan 2007 15:35:50 -0600
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: Parsing some input - easy to explain but lengthy to code - suggestions?
Message-Id: <slrneql8hm.2rs.tadmc@tadmc30.august.net>
doolittle <spam.meplease@ntlworld.com> wrote:
> return 0 if $chr !~ /[a-z]/o;
> return 0 if $chr !~ /[1-9]/o;
> return 0 if $chr !~ /\d/o;
Why do you think you need the m//o modifier there?
(you don't, it is a no-op)
--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas
------------------------------
Date: Sun, 14 Jan 2007 11:53:00 -0500
From: Sherm Pendley <spamtrap@dot-app.org>
Subject: Re: Perl free e-books
Message-Id: <m2tzyta6tv.fsf@Sherm-Pendleys-Computer.local>
Joe Smith <joe@inwap.com> writes:
> John Bokma wrote:
>
>> And I am, sadly, moved by your ignorance.
>>
>> Don't top post
>> Don't reply using HTML
>
> He's not posting using HTML.
What do you call this then - it's a direct copy and paste from what my news
reader showed me:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<STYLE></STYLE>
John,It is very nice of you! I am moving by
your kindness. However, I tried to look through the material from your below
link, it is still not pdf format, and the pdf book which you refer to is not
real what I want, my hope is that I could get a formal pdf book, just like
<<<SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 宋体; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">Profssional
Perl Programming >> which is from
> Content-Type: text/plain; charset="gb2312"
> Content-Transfer-Encoding: quoted-printable
>
> As you can see, it is text/plain (not text/html), with a Chinese codepage.
> (Granted, it is multi-part/MIME, but definitely not HTML.)
Exactly so. HTML messages are sent multi-part/mime. The problem with that is
that not all news readers are multi-part aware - many will simply show the
HTML part as plain text.
>>> I just wanna make the format of my message as "Times New Roman",
>>> not the default format of Plain Text file.
>>
>> and usenet is a PLAIN TEXT only medium. no one cares about your
>> formatting requests. html IS NOT ACCEPTED.
>
> It's not HTML.
The fact that your news reader doesn't show you the HTML code doesn't mean
it isn't there.
> You misinterpreted the slightly flawed English.
> Shuo Shi said, (paraphrasing), "Oh, I see, I need to simply tell Outlook
> Express to use Time New Roman in order to produce a posting that is not
> offensive."
Specifying *any* font at all in OE will cause it to produce a multi-part
message, one part of which will be HTML.
sherm--
--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net
------------------------------
Date: Sun, 14 Jan 2007 12:14:01 -0500
From: "Jim Carlock" <anonymous@127.0.0.1>
Subject: Re: Perl free e-books
Message-Id: <45aa655b$0$16958$4c368faf@roadrunner.com>
<axel@white-eagle.invalid.uk> wrote:
: How many people who use Perl had experience of using ex/vi
: regular expressions before they started Perl?
My answer... none that I know of. :-) I toyed with vi at one time
but the DOS edit.com and edlin.com worked well enough for me
at the time.
<axel@white-eagle.invalid.uk> wrote:
: Google does not own or administer Usenet, but is just one of thousands
: of news servers in the world.
Google runs HTTP servers. I don't know of any NNTP/News servers
at Google. They hook up to NNTP/News servers and archive the
content, placing it all into an HTML format. It's not a News server.
The Google that most folks know about is an HTTP server.
They do administer the USENET content on their servers, as seen
by the ads displayed when visiting http://groups.google.com. They
also own the USENET content on their servers. They can delete
it at any time, edit it the way they like and disconnect the servers
as they wish. If that's not ownership... I'll let someone else argue it.
I'm wondering if the OP got everything sorted out. He didn't reply
directly to me that I can see. He seemed sincere enough about his
problems and most all come across naive when they try something
new. If he's in China, I'd like to know what part of China.
Cheers!
--
Jim Carlock
Post replies to the group.
------------------------------
Date: Sun, 14 Jan 2007 17:23:30 GMT
From: "Jürgen Exner" <jurgenex@hotmail.com>
Subject: Re: Perl free e-books
Message-Id: <mGtqh.2672$wq.185@trndny07>
Jim Carlock wrote:
> <axel@white-eagle.invalid.uk> wrote:
>> Google does not own or administer Usenet, but is just one of
>> thousands of news servers in the world.
>
> Google runs HTTP servers. I don't know of any NNTP/News servers
> at Google. They hook up to NNTP/News servers and archive the
> content, placing it all into an HTML format. It's not a News server.
> The Google that most folks know about is an HTTP server.
>
> They do administer the USENET content on their servers, as seen
> by the ads displayed when visiting http://groups.google.com. They
> also own the USENET content on their servers. They can delete
> it at any time, edit it the way they like and disconnect the servers
> as they wish. If that's not ownership... I'll let someone else argue
> it.
I run a mailbox at the top of my driveway. I put stuff in my mailbox and I
allow other people so send mail to that mailbox. I can lock it, I can empty
it, and I can paint it any way I like. I can even remove it as I wish. If
that is not ownership [of the United States Postal Service] ... I'll let
someone else argue it.
jue
------------------------------
Date: 14 Jan 2007 17:45:30 GMT
From: John Bokma <john@castleamber.com>
Subject: Re: Perl free e-books
Message-Id: <Xns98B8779B490D9castleamber@130.133.1.4>
Joe Smith <joe@inwap.com> wrote:
> He's not posting using HTML.
I see this:
"------=_NextPart_000_0032_01C735BB.A910B770
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2900.3020" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face="Times New Roman">John,It is very nice of you! I am moving
by
your kindness. However, I tried to look through the material from your
below
"
--
John Experienced Perl programmer: http://castleamber.com/
Perl help, tutorials, and examples: http://johnbokma.com/perl/
------------------------------
Date: Sun, 14 Jan 2007 20:27:15 +0100
From: "Peter J. Holzer" <hjp-usenet2@hjp.at>
Subject: Re: Perl free e-books
Message-Id: <slrneql10j.ii0.hjp-usenet2@yoyo.hjp.at>
On 2007-01-14 17:14, Jim Carlock <anonymous@127.0.0.1> wrote:
><axel@white-eagle.invalid.uk> wrote:
>: How many people who use Perl had experience of using ex/vi
>: regular expressions before they started Perl?
>
> My answer... none that I know of. :-)
Now you do :-).
I guess just about everyone who used Unix text tools (vi, grep, sed,
...) before perl knew about regular expressions.
> I toyed with vi at one time
> but the DOS edit.com and edlin.com worked well enough for me
^^^^^^^^^
Outch.
> at the time.
>
><axel@white-eagle.invalid.uk> wrote:
>: Google does not own or administer Usenet, but is just one of thousands
>: of news servers in the world.
>
> Google runs HTTP servers. I don't know of any NNTP/News servers
> at Google.
The probably aren't public, but I have no doubt they exist.
> They hook up to NNTP/News servers and archive the
> content,
Right. And the most efficient way of "hooking up" is to run a news
server, which exchanges articles with its neighbours using NNTP. Using
NNRP (the subset of NNTP used by user agents) would be horribly
inefficient for the volume of news Google processes.
hp
--
_ | Peter J. Holzer | > Wieso sollte man etwas erfinden was nicht
|_|_) | Sysadmin WSR | > ist?
| | | hjp@hjp.at | Was sonst wäre der Sinn des Erfindens?
__/ | http://www.hjp.at/ | -- P. Einstein u. V. Gringmuth in desd
------------------------------
Date: Sun, 14 Jan 2007 14:13:10 -0600
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: Perl free e-books
Message-Id: <slrneql3mm.2hu.tadmc@tadmc30.august.net>
solomonrex <mwidrick@gmail.com> wrote:
> And I don't understand the top-posting Nazis.
Top-posting is seen as socially unacceptable on Usenet.
If you understand why, then it is still socially unacceptable.
If you do not understand why, then it is still socially unacceptable.
The point is not whether or not disdain for top-posting is a good idea
or not. The point is *people here do not like it*.
You can try to change the way that everyone has done it for decades,
or you can comply (or not, and be ostracized). Your choice.
> This isn't a dinner
> table, it's a street corner and Google owns it.
Pardon me, but your ignorance is showing.
Usenet was here for *years* before Google was even founded.
Google does not own Usenet in any way. Never has.
> Be a little clearer
> than using specialized technical jargon like "top-posting" with an
> international crowd.
You demean people when you suggest that they cannot type "top-posting"
into the little box at www.google.com.
> People who need help aren't likely to be fluent in message board
This is Usenet, not a "message board".
> language and etiquette, are they?
People who want to participate in Usenet need to become acquainted
with the expected netiquette.
--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas
------------------------------
Date: Sun, 14 Jan 2007 17:16:31 -0500
From: "John W. Kennedy" <jwkenne@attglobal.net>
Subject: Re: Perl free e-books
Message-Id: <dZxqh.41$0Q7.28@newsfe10.lga>
John Bokma wrote:
> Joe Smith <joe@inwap.com> wrote:
>
>> He's not posting using HTML.
>
> I see this:
>
> "------=_NextPart_000_0032_01C735BB.A910B770
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META http-equiv=Content-Type content="text/html; charset=gb2312">
> <META content="MSHTML 6.00.2900.3020" name=GENERATOR>
> <STYLE></STYLE>
> </HEAD>
> <BODY>
> <DIV><FONT face="Times New Roman">John,It is very nice of you! I am moving
> by
> your kindness. However, I tried to look through the material from your
> below
> "
That was on January 11th. He stopped using HTML as of the 12th.
--
John W. Kennedy
"The blind rulers of Logres
Nourished the land on a fallacy of rational virtue."
-- Charles Williams. "Taliessin through Logres: Prelude"
------------------------------
Date: Sun, 14 Jan 2007 17:41:37 -0500
From: Sherm Pendley <spamtrap@dot-app.org>
Subject: Re: Perl free e-books
Message-Id: <m2ac0l9qou.fsf@Sherm-Pendleys-Computer.local>
"John W. Kennedy" <jwkenne@attglobal.net> writes:
> That was on January 11th. He stopped using HTML as of the 12th.
Gee, no kidding. I was replying to someone who disputed that the OP had
*ever* posted HTML.
sherm--
--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net
------------------------------
Date: Sun, 14 Jan 2007 14:04:55 -0600
From: "Mumia W. (NOSPAM)" <paduille.4060.mumia.w+nospam@earthlink.net>
Subject: Re: problems cgi ex cook book perl
Message-Id: <eoe3b9$tun$2@aioe.org>
On 01/14/2007 06:54 AM, john.swilting wrote:
> I started again the example of cook book perl
> chapter 19.14
> He(It) does not walk(work) correctly can you m help to find the error
> The error which appears it is Not of ecran for card
> at /var/www/cgi-bin/vente.cgi line 24
>
> help help help
> i am french
> i am beginner of perl
> help help help
> [...]
http://lists.cpan.org/showlist.cgi?name=perl-fr
--
Windows Vista and your freedom in conflict:
http://techdirt.com/articles/20061019/102225.shtml
------------------------------
Date: Sun, 14 Jan 2007 16:15:31 -0600
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: problems cgi ex cook book perl
Message-Id: <slrneqlas3.2rs.tadmc@tadmc30.august.net>
john.swilting <john.swilting@wanadoo.fr> wrote:
> He(It) does not walk(work) correctly can you m help to find the error
> The error which appears it is Not of ecran for card
> at /var/www/cgi-bin/vente.cgi line 24
>
> help help help
Pleading makes it *less* likely that you will get help.
Have you seen the Posting Guidelines that are posted here frequently?
> i am french
How is that relevant?
> die "Pas d'écran pour $Ecran_actuel" unless $Etats{$Ecran_actuel};
This line cannot produce the error message that you claim.
We cannot help you if we do not get real information.
[ snip 230 lines of code that are not needed to illustrate the problem ]
--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas
------------------------------
Date: Sun, 14 Jan 2007 16:21:37 -0600
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: problems cgi ex cook book perl
Message-Id: <slrneqlb7h.2rs.tadmc@tadmc30.august.net>
john.swilting <john.swilting@wanadoo.fr> wrote:
> RedGrittyBrick wrote:
>> john.swilting wrote:
>>> die "Pas d'écran pour $Ecran_actuel" unless $Etats{$Ecran_actuel};
>> I'd change that line to
>> die "Pas d'écran pour '$Ecran_actuel'" unless $Etats{$Ecran_actuel};
>> so that you can clearly see leading spaces and other punctuation.
> I have correct the problemes of syntax
You did not have a problem of syntax.
> die "Pas d'écran pour $Ecran_actuel" unless $Etats{$Ecran_actuel};
You did not make the suggested change either.
--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas
------------------------------
Date: Sun, 14 Jan 2007 17:56:36 +0100
From: Martijn Lievaart <m@remove.this.part.rtij.nl>
Subject: Re: Unix commands
Message-Id: <pan.2007.01.14.16.56.36.922666@remove.this.part.rtij.nl>
On Sat, 13 Jan 2007 13:10:33 -0600, Andrew DeFaria wrote:
> Listen sonny, I've probably worked at far more companies than you,
You're fired very frequently? I'm not surprised.
M4
--
Redundancy is a great way to introduce more single points of failure.
------------------------------
Date: 14 Jan 2007 17:44:12 GMT
From: John Bokma <john@castleamber.com>
Subject: Re: Unix commands
Message-Id: <Xns98B877632EE2castleamber@130.133.1.4>
Andrew DeFaria <Andrew@DeFaria.com> wrote:
> Martijn Lievaart wrote:
>> On Sat, 13 Jan 2007 13:10:33 -0600, Andrew DeFaria wrote:
>>
>>> Listen sonny, I've probably worked at far more companies than you,
>> You're fired very frequently? I'm not surprised.
> I've never been fired.
Yup, people just started to ignore you and then you moved on.
--
John Experienced Perl programmer: http://castleamber.com/
Perl help, tutorials, and examples: http://johnbokma.com/perl/
------------------------------
Date: Sun, 14 Jan 2007 13:52:27 -0600
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: Unix commands
Message-Id: <slrneql2fr.2hu.tadmc@tadmc30.august.net>
Joe Smith <joe@inwap.com> wrote:
> I can determine that Andrew DeFarina is someone who should be ignored.
I determined that 30 months ago.
--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas
------------------------------
Date: 14 Jan 2007 21:30:24 GMT
From: xhoster@gmail.com
Subject: Re: wall command from perl
Message-Id: <20070114163038.487$km@newsreader.com>
jcharth@hotmail.com wrote:
> hello is there a way to execute a print statement that works like the
> wall command?. Just to print to console like a broadcast to command
open my $all, "|wall" or die $!;
print $all "whatever";
Xho
--
-------------------- http://NewsReader.Com/ --------------------
Usenet Newsgroup Service $9.95/Month 30GB
------------------------------
Date: Sun, 14 Jan 2007 16:25:50 -0600
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: wall command from perl
Message-Id: <slrneqlbfe.2rs.tadmc@tadmc30.august.net>
jcharth@hotmail.com <jcharth@hotmail.com> wrote:
> hello is there a way to execute a print statement that works like the
> wall command?.
# untested
open my $WALL, '|-', 'wall' or die "could not fork 'wall' $!";
print {$WALL} "Warning Will Robinson!\n";
close $WALL;
--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas
------------------------------
Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Digest Administrivia (Last modified: 6 Apr 01)
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: due to the current flood of worm email banging on ruby, the smtp
server on ruby has been shut off until further notice.
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 V11 Issue 29
*************************************