On Mon, Sep 9, 2013 at 5:00 AM, Hans Ginzel wrote:
> Hello!
>
> Is there a shorter way to write $a = ! $a, please?
>
> Something analogous to ++ and -- operators like $a !! or !! $a would negate
> the variable $a and return its previous or new value respectively.
>
It sounds like what you're req
Hello list members,
John SJ Anderson has accepted the role of list moderator. He'll be
responsible for the moderation of this list as he sees fit. If you have any
questions about that you can ask him directly or read the somewhat out of
date FAQ about the list:
http://learn.perl.org/faq/beginne
On Fri, Apr 22, 2011 at 12:59 AM, Casey West wrote:
> 1.10 - Who will maintain peace and flow on the list?
>
> [...]
> --
> http://learn.perl.org/faq/beginners.html#1.10+who+will+maintain+peace+and+flow+on+the+list
>
> Anyone here with the desire and temperament can
On Wed, May 18, 2011 at 7:55 PM, Rob Dixon wrote:
> I allow myself to be wrong, but I have no wish to draw others along a
> wrong line.
>
I agree with your sentiment. Lets end this thread now, thank you.
--
Casey West
ish on account
of failing to hear your audience's feedback.
Cheers,
--
Casey West
s time to formally pass the torch of moderating this list to
more presently capable hands. What's the job? From the FAQ:
1.10 - Who will maintain peace and flow on the list?
Casey West, Kevin Meltzer and Ask Bjoern Hansen currently carry large,
yet padded, clue-sticks to maintain peace and order
#x27;s time to formally pass the torch of moderating this list to more
presently capable hands. What's the job? From the FAQ:
1.10 - Who will maintain peace and flow on the list?
Casey West, Kevin Meltzer and Ask Bjoern Hansen currently carry large,
yet padded, clue-sticks to maintain
compilation error.
Also, if you can show any code it could help us diagnose your
problem much faster.
Casey West
--
Imagine if every Thursday your shoes exploded if you tied them the
usual way. This happens to us all the time with computers, and nobody
thinks of complaining.
-- Jeff Raskin
wever, that doesn't excuse bad
behavior in response. Furthermore, I expect more from a responder than a
questioner.
I'd like to believe that we agree on a few points that boil down to
"everyone should be courteous." Don't post bogus code. Likewise, don't
flame for a bogus
st to see the code afterwhich I would offer
further help.
Being extra nice with sugar on top is frustrating. It's often a
thankless task. But that's what this list is here for.
Discussing a problem in the abstract is okay. That is, without
code. If you want to see code, request it. N
description to jobs.perl.org:
http://jobs.perl.org/
Good luck!
Casey West
--
"We take your bags and send them in all directions."
--In a Copenhagen airline ticket office
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTEC
It was Wednesday, December 01, 2004 when Gunnar Hjalmarsson took the soap box,
saying:
: Casey West wrote:
: >It was Wednesday, December 01, 2004 when Gunnar Hjalmarsson took the
: >soap box, saying:
: >>What do you refer to as "the original question"? To me it'
It was Wednesday, December 01, 2004 when Gunnar Hjalmarsson took the soap box,
saying:
: Casey West wrote:
: >The original question was places squarely within reasonable query
: >boundaries.
:
: What do you refer to as "the original question"? To me it's this:
: http:/
g.perl.misc. Their
lower bound is set a bit higher.
As for "what's this list for," the FAQ still stands. That portion of
this thread is certainly closed.
Casey West
--
Shooting yourself in the foot with Lisp
You shoot yourself in the appendage which holds the gun with which you
s
system doesn't discriminate, neither should we
(humans). :-)
http://bfr.caseywest.com/archives/003131.html
Casey West
--
Shooting yourself in the foot with ASP
You try to shoot yourself in the foot, however the most advanced thing
you can manage is to cut your wrist.
--
To unsubscribe,
close(FILE);
: $temp = $f[0];
: ($files, $quotause) = split(/ /,$temp); # line 39
: }
Sounds like your file is empty. You check that your file exists, and
that is good, but perhaps you should make sure the file is not empty
using '-s' instead of '-e'?
Casey Wes
IN.
We're not talking about email here, but about HTML. :-)
HTML::TreeBuilder is a good module to look at.
Casey West
--
Shooting yourself in the foot with English
You put your foot in your mouth, then bite it off. (For those who
don't know, English is a McDonnell Douglas/PICK query l
mp");
$image->write(file => "foo.jpg", type => "jpg");
And so on. :-)
Casey West
--
"Special today---no ice cream."
--In a Swiss mountain inn
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
rtain you used the originally subscribed email
address? Also, you can try the form at http://learn.perl.org. I've
tested these and had success with my originally subscribed email
address. Please let me know if the web form works correctly.
Casey West
--
Shooting yourself in the foot w
d be terrible if all
unsubscribe requests weren't working.
Casey West
--
Good Idea: Dressing up for Halloween as a pirate.
Bad Idea: Dressing up for Halloween as a pin~ata.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<h
It was Friday, January 16, 2004 when Walter Valenti took the soap box, saying:
: How i can unscribe ???
:
[snipping yahoo sig]
: --
: To unsubscribe, e-mail: [EMAIL PROTECTED]
There you are. :-)
Casey West
--
Shooting yourself in the foot with Windows 95
Your gun is not compatible with
heard of a problem like this with that news server.
Casey West
--
"Airplanes are interesting toys but of no military value."
-- Marechal Ferdinand Foch, Professor of Strategy, Ecole Superieure
de Guerre.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-ma
be kept in check.
I think now is a good time to stop this thread. Everything that
should have been said has been, as well as some things that shouldn't
have. :-)
Casey West
--
Shooting yourself in the foot with Pascal
The compiler won't let you shoot yourself in the foot.
--
of it.
As an aside, this mailing list could never be SPAM to you because you
confirmed your subscription to it and thus every message is
solicited. Even so, I'm sorry they bother you.
Casey West
--
Shooting yourself in the foot with APL
You hear a gunshot and there's a hole in your
to look more like a struct, use File::stat.
use File::stat;
my $prop = stat($file);
print $prop->size;
perldoc File::stat
Casey West
--
"So we went to Atari and said, 'Hey, we've got this amazing thing,
even built with some of your parts, and what do you think ab
It was Wednesday, December 10, 2003 when Rob Dixon took the soap box, saying:
: Casey West wrote:
: >
: > : Before I finally burst my cyanide capsule, may I.. ?
: >
: > No, you may not.
: >
: > I find walking around the block a good way to cool off. Counting to ten
: > has
killing the personal tension between you two, on this list,
we're throwing in the white flag. :-)
Casey West
--
> Once you dump SOLARIS, you're just a hop, skip and a jump from realizing
> that your US$20k Sun E250 can be replaced with US$5k worth of Intel-based
> equipme
(), study(), and so
on. No regular expressions, but you don't always need them.
Casey West
--
I'd rather listen to Newton than to Mundie. He may have been dead for
almost three hundred years, but despite that he stinks up the room
less.
-- Linus Torvalds
--
To unsubscrib
able.
Picking a random post to respond to in this very lengthy OT thread...
let's move on. I think the issues have been well discussed. So well,
that we've degenerated. So feel free to continue in private, but I think
we need to get back to helping folks in need.
Thanks!
Casey West
--
Sho
$var + $var;# expect: 4
print $var->in(1..3); # expect: 1
print $var->in(3..5); # expect: 0
Enjoy!
Casey West
--
Shooting yourself in the foot with DOS
Y
oal is to be helpful, after all. :-)
: --
: To unsubscribe, e-mail: [EMAIL PROTECTED]
: For additional commands, e-mail: [EMAIL PROTECTED]
: <http://learn.perl.org/> <http://learn.perl.org/first-response>
Aah, there it is.
Casey West
--
Usenet is like Tetris for people who still re
It was Wednesday, December 03, 2003 when Casey West took the soap box, saying:
: I'm beta-testing a robot that searches Google when new questions are
: posed to the beginners' lists. I have no idea if it will be useful.
: :-)
:
: I'm going to watch it closely and hope it is. I
Hi.
I'm in the employ of Casey West, a list admin, to assist you with your
question. I've taken the liberty to search Google using the Subject line
you provided in your email to the list. I hope one of the links below
will be of service to you.
Sadly Google hasn't given us a nice
It was Wednesday, December 03, 2003 when Casey West took the soap box, saying:
: I'm beta-testing a robot that searches Google when new questions are
: posed to the beginners' lists. I have no idea if it will be useful.
: :-)
I should like to make an important note. This bot is not i
7;s memory limit."
I missed that part, yes.
: That is exactly what this bit of code does - it fills $bigbuf with data
: in 16K chunks until the OS kills it for using too much memory.
Excellent.
Casey West
--
Good Idea: Playing the piccolo in a marching band.
Bad Idea: Playing the piano in a marching band.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi.
I'm in the employ of Casey West, a list admin, to assist you with your
question. I've taken the liberty to search Google using the Subject line
you provided in your email to the list. I hope one of the links below
will be of service to you.
Sadly Google hasn't given us a nice
It was Thursday, December 04, 2003 when Wiggins d Anconia took the soap box, saying:
:
:
: > It was Wednesday, December 03, 2003 when Casey West took the soap box,
: saying:
: > : I'm beta-testing a robot that searches Google when new questions are
: > : posed to the beginners'
Hi.
I'm in the employ of Casey West, a list admin, to assist you with your
question. I've taken the liberty to search Google using the Subject line
you provided in your email to the list. I hope one of the links below
will be of service to you.
Sadly Google hasn't given us a nice
27;t open random device: $!";
: while( read(IN, $buf, 16384) > 0 ) {
: $bigbuf .= $buf;
: }
The original poster was having trouble with data from Oracle, not the
filesystem. I'm not quite sure what you're trying to demonstrate
here.
Casey West
--
Shooting yourself in the foot with
Hi.
I'm in the employ of Casey West, a list admin, to assist you with your
question. I've taken the liberty to search Google using the Subject line
you provided in your email to the list. I hope one of the links below
will be of service to you.
Sadly Google hasn't given us a nice
Hi.
I'm in the employ of Casey West, a list admin, to assist you with your
question. I've taken the liberty to search Google using the Subject line
you provided in your email to the list. I hope one of the links below
will be of service to you.
Sadly Google hasn't given us a nice
Hi.
I'm in the employ of Casey West, a list admin, to assist you with your
question. I've taken the liberty to search Google using the Subject line
you provided in your email to the list. I hope one of the links below
will be of service to you.
Sadly Google hasn't given us a nice
Hi.
I'm in the employ of Casey West, a list admin, to assist you with your
question. I've taken the liberty to search Google using the Subject line
you provided in your email to the list. I hope one of the links below
will be of service to you.
Sadly Google hasn't given us a nice
040 to 176 gets changed to a space.
:
: The BEGIN block sets $/ so that input gets processed in 8kb chunks,
: regardless of the format of the input files. (Can that be done with a
: command-line option to perl?)
-0[octal] specify record separator (\0, if no argument)
Casey West
--
Shootin
Hi.
I'm in the employ of Casey West, a list admin, to assist you with your
question. I've taken the liberty to search Google using the Subject line
you provided in your email to the list. I hope one of the links below
will be of service to you. I know we all do research before postin
I'm beta-testing a robot that searches Google when new questions are
posed to the beginners' lists. I have no idea if it will be useful.
:-)
I'm going to watch it closely and hope it is. I'll remove it if I
find that it does a bad job.
Casey West
--
Good Idea: Kissing a
Hi.
I'm in the employ of Casey West, a list admin, to assist you with your
question. I've taken the liberty to search Google using the Subject line
you provided in your email to the list. I hope one of the links below
will be of service to you. I know we all do research before postin
be able to save yourself a load of time by using some
already-written tools such as Nagios or mon.
http://www.nagios.org/
http://www.kernel.org/software/mon/
Casey West
--
Shooting yourself in the foot with APL
You shoot yourself in the foot; then spend all day figuring out how to
do it in f
Hi.
I'm acting on behalf of Casey West, a list admin, to assist you with
your question. I've taken the liberty to search Google using the Subject
line you provided in your email to the list. I hope one of the links
below will be of service to you. I know we all do research before
postin
Setting your environment has to happen as early as possible, in a
BEGIN block, so it's the first thing Perl does after compiling the
source code.
BEGIN {
undef $ENV{LANG};
}
Casey West
--
Shooting yourself in the foot with FidoNet
You put your foot in your mouth, then echo it internatio
I'm looking for?
: Have I not looked carefully and missed something?
Client side, you want Javascript.
If you really want to cluge through a request to the webserver, you'll
have to deal with CGI's param()s to do what you want.
Casey West
--
There are two major products that co
ants to look at Net::FTP.
http://search.cpan.org/perldoc?Net::FTP
Casey West
--
f u cn rd ths, u cn gt a gd jb n cmptr prgmmng.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
that.
Use the headers. Perhaps Delivered-To could help.
Casey West
--
Shooting yourself in the foot with Linux
Generous programmers from around the world all join forces to help you
shoot yourself in the foot for free.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
7.5 hours at work (not perl), that leaves -10
minutes to crap
: and -2 hours a day to research perl.
Cease. Desist. All of you.
Thanks.
Casey West
--
Good Idea: Dressing up for Halloween as a pirate.
Bad Idea: Dressing up for Halloween as a pin~ata.
--
To unsubscribe, e-mail: [EMAIL PR
: started to receive a lot of spam on address used for this list?
This list can be viewed on the web from a number of locations. It's all
too common to get spam quickly to an email address that's become public.
Casey West
--
"Special today---no ice cream."
--In a Swiss m
Okay folks, lets move on. I was hoping this thread would end on its
own. :-)
Casey West
--
"Everything that can be invented has been invented."
-- Charles H. Duell, Commissioner, U.S. Office of Patents, 1899.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comman
alent system
documentation for details.
Casey West
--
Good Idea: Visiting picturesque McLean, Virginia.
Bad Idea: Visiting picturesque McLean Stevenson.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
from the hash *and*
reurns that element's value. This is very handy.
return (exists $myHash{$val1}) ? delete $myHash{$val2} : undef;
Casey West
--
"Stocks have reached what looks like a permanently high plateau."
-- Irving Fisher, Professor of Economics, Yale Univer
u must use their variable
representations, $1 .. $9 in the replacement portion.
Casey West
--
The goal of Computer Science is to build something that will last at
least until we've finished building it.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
n use it in the replacement.
This is done using parens to capture.
s/(foo)/.../g;
Now that we've captured 'foo', we can access it from the variable
called $1 in our replacement.
s/(foo)_bar/$1/g;
If you were to capture two parts of your regular expression you'd use
$1
tion
first. :-)
http://search.cpan.org/author/CTWETEN/ex-constant-vars-0.01/vars.pm
You want to use constant functions in real code.
Casey West
--
Shooting yourself in the foot with Ada
After correctly packaging your foot, you attempt to concurrently load
the gun, pull the trigger, scream
It was Wednesday, August 13, 2003 when [EMAIL PROTECTED] took the soap box, saying:
: I've posted the ebook Beginning Perl for downloading at:
I believe what probably have here is a serious copyright violation.
You are not advised to act on the posting.
Casey West
--
Technology mak
It was Saturday, August 02, 2003 when Gupta, Sharad took the soap box, saying:
:
: Hi,
:
: I have a path which may look like:
use Env [EMAIL PROTECTED];
print "$_\n" foreach @PATH;
I love the Perl core. :-)
For more information read http://search.cpan.org/perldoc?Env
then they'll
: see that it failed and know not to go further, right?:
Yes, but please read http://search.cpan.org/perldoc?Test::Tutorial
Casey West
--
Shooting yourself in the foot with MasPar
You shoot all of your friends' feet simultaneously.
--
To unsubscribe, e-ma
ut it on cpan for public use
:
: I know I need to get an account and namespace approval and
: upload it but I'm lost as to how to do that/finer points of it.
: I know the docs are there but I missed it on cpan.
Also read this: http://cpan.org/misc/cpan-faq.html#How_contribute_modules
is it always going to be DBI::db regardless of the driver?
: I need ot know for some stuff I'm making that uses the name space of $dbh object.
Yep.
Casey West
--
Shooting yourself in the foot with Modula-2
After realizing that you can't actually accomplish anything in this
languag
It was Thursday, July 31, 2003 when Ohad Ohad took the soap box, saying:
: hey All,
:
: I need some pointers (essays, presentations whatever . . .) on Perl
: past/present/future .
: I'm looking for something as little technical as possible.
http://history.perl.org
Casey West
--
Sho
It was Thursday, July 31, 2003 when Michael Muratet took the soap box, saying:
: On Thu, 31 Jul 2003 14:15:17 -0400
: Casey West <[EMAIL PROTECTED]> wrote:
:
: > It was Thursday, July 31, 2003 when GregorioGonzalez took the soap
: > box, saying:: Hello:
: > :
: > : I have heard
rl on my own time. I've never once found a decent C++ gig, and have
been working steady using Perl ever since.
Your milage may vary, however.
Casey West
--
Shooting yourself in the foot with ASP
You try to shoot yourself in the foot, however the most advanced thing
you can manage is t
;%.2f', $number;
Casey West
--
Shooting yourself in the foot with SmallTalk
You daydream repeatedly about shooting yourself in the foot.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
check only
: the headers of the messages?
I would suggest using Email::Simple. Take a look at the documentation
here.
http://search.cpan.org/perldoc?Email::Simple
Casey West
--
Shooting yourself in the foot with Genetic Algorithms
You create 10,000 strings describing the best way to shoot y
ea how to get it to be friends with use strict; ??
You have to turn off strict 'refs'.
use strict;
# ...
for ( @list ) {
no strict 'refs';
# ...
}
:
: IE
: perl -le'use strict;sub v{${$_} = ++$c for qw[x y z]} v; print "$x $y $z"'
:
:
ile::Basename
Enjoy!
Casey West
--
Shooting yourself in the foot with Apple System 7
Double click the gun icon and a window giving a selection for guns,
target areas, plus balloon help with medical remedies, and assorted
sound effects. Click "shoot" button and a small bomb appears
27;install Time::HiRes'
For more information, consult the documentation for CPAN.
perldoc CPAN
Casey West
--
Usenet is like a herd of performing elephants with diarrhea --
massive, difficult to redirect, awe-inspiring, entertaining, and a
source of mind-boggling amounts of excrement
Mail::Sender?
Mail::Sender is an option, the easiest module that I've used to send
mail in any form is MIME::Lite. But if you want to go low level,
close to the SMTP level, try Net::SMTP. Proper documentation can be
found by the same means you already have for Mail::Sender.
Casey West
--
0;
$a = 1 + 2 + 3 + 4 + 5
+ 6 + 7 + 8 + 9 + 10;
Casey West
--
"I'm going to memorize your name and throw my head away."
--Oscar Levant
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
having a little hicup.
: I can access www.cpan.org though.
It is important to remember that search.cpan.org is not cpan.org. In
fact, it is just a fancy CPAN mirror, similar to other CPAN mirrors.
Graham will have it up shortly, I'm sure.
Casey West
--
Shooting yourself in the foot with
n($) {
}
This will require the first argument to be scalar. If the first
argument is mandatory, follow the dollar sign ($) with a semi-colon
(;).
Casey West
--
"DOS addresses only 1 Megabyte of RAM because we cannot imagine any
applications needing more."
-- Microsoft, 1980, on t
)/,reverse($num), "\n";
:
: This works but was wondering if anyone might suggest a better method.
This is something folks always want to do. I suggest reading the FAQ
on the subject.
perldoc -q commas added
Casey West
--
If you put garbage in a computer nothing comes out but
d segments. This will store the segments and matched
split strings in @parts sequentially.
Next, we take elements off the end of @parts untill the size of the
list is equal to the twice the max count. the max count is doubled
because we've also stored the delimiters from the split.
Finally,
rtant that you change your password immediatley.
Good luck.
Casey West
--
I am a superhero.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
not use %ENV?
printf "%s=%s\n", $_, $ENV{$_} foreach keys %ENV;
Casey West
--
Shooting yourself in the foot with APL
@#&^$%&%^ foot
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
#x27;);
$cgi->delete('foo');
my $q = $cgi->query_string();
Then elsewhere in your program you can use the original query string
paramters.
my $thing = param('foo');
Casey West
--
"The wireless music box has no imaginable commercial value. Who would
pay for
It was Friday, June 20, 2003 when Abhijit Shylanath took the soap box, saying:
:
: Greets, all. This is my first post here... I'm a seasoned C/C++ programmer,
: and recently started learning perl... it's going along well, and as an
: exercise, I've completely Perl'ed my webpage. I'm still a little
form
: Any help is appreciated CODE IS BELOW
I would suggest using MIME::Lite, a module you can find on the CPAN.
It was designed for this type of task, and the documentation can help
you set up a text/html message.
Casey West
--
Live TV died in the late 1950s, electronic bulletin boards came al
Casey West
--
> Once you dump SOLARIS, you're just a hop, skip and a jump from realizing
> that your US$20k Sun E250 can be replaced with US$5k worth of Intel-based
> equipment from a reputable vendor, such as IBM.
Dream on. -- Abigail
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
and
it pretty well too. If order is important to you, you want the list
to stay in the same order as the passwd file, you can change this
arround a bit and use a list of hashes.
my @records;
while () {
my($user, $pass) = split( /:/, $_ );
push @records, {
user => $use
ry good searching support for
newsgroups such as perl.beginners.
Casey West
--
Shooting yourself in the foot with Scheme
As Lisp, but none of the other appendages are aware of this
happening.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
://search.cpan.org/author/DHUDES/Net-Whois-1.9/Whois.pm
There is the documentation. search.cpan.org is very helpful in
finding documentation.
Casey West
--
"I'm just glad it'll be Clark Gable who's falling on his face and not
Gary Cooper."
-- Gary Cooper on his decision not to take
using CPANPLUS (with the cpanp shell utility), it's the "next
generation" CPAN interface.
Casey West
--
Shooting yourself in the foot with Assembly Language
You crash the OS and overwrite the root disk. The system administrator
arrives and shoots you in the foot. After a moment o
It was Thursday, February 27, 2003 when Yannick Warnier took the soap box, saying:
: Le jeu 27/02/2003 ? 15:11, Casey West a ?crit :
: > It was Thursday, February 27, 2003 when Yannick Warnier took the soap box, saying:
: > : Hi,
: > :
: > : I'm searching for some perl module to
me
: already-packaged solution.
With the level of detail we have the best bet I can think of is to
start with a home grown solution, you'll have to write it. You may
get help from Parse::RecDescent or similar modules.
Casey West
--
Live TV died in the late 1950s, electronic bulletin boar
egex in '\Q' and '\E' sequences. This would make your regex look
something like this (when the needless curlies are removed):
/^\Q$name\E(.*)$suf$/
Enjoy!
Casey West
--
Shooting yourself in the foot with Fortran
You shoot yourself in each toe, iteratively, until you run
files are supplied on the command line, they are opened and looped
through as well. It's an ever so handy feature. Plus, it's low on
memory.
Casey West
--
Shooting yourself in the foot with Snobol
If you succeed, shoot yourself in the left foot. If you fail, shoot
yourself in the right foot.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ly above, but if you
want an easier approach, this is what I would go with.
my $subject = $headers->{Subject}->[0];
Casey West
--
Corollary to Godwin's Law:
"As a p5p thread grows longer, the probability of a bad pun approaches
one. Once this occurs, that thread is ove
ail message. This is nice, since getting a list from STDIN is not
difficult.
my $mail = Mail::Internet->new( [ ] );
my $headers = $mail->head->header_hashref;
my $subject = $headers->{Subject};
Enjoy!
Casey West
--
Shooting yourself in the foot with Apple System 7
Double cli
would
: like to process them in parallel. How could that be done? Threads?
I suggest you use POE. You can find POE on the cpan, go to
search.cpan.org and look it up.
In the SYNOPSIS there is an example that should give you the
foundations of exactly what you want.
--
Casey West
Aaronsen Group
, "";
'perldoc -f substr' for more info on it.
Enjoy!
Casey West
--
"Windows NT 3.5 is not designed to route packets. . .so your Internet
Service Provider cannot be a Windows NT 3.5 box."
-- Microsoft, 1995, on Win NT RAS
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
CPAN or at wddx.org.
back to the
Casey West
--
"I'm going to memorize your name and throw my head away."
--Oscar Levant
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
'my $hash = { ... };
my $hash = eval $hashdata; # perldoc -f eval
die $@ if $@;# perldoc perlvar for $@
# now just use the hash reference
print "$hash->{one}\n";
Enjoy!
Casey West
--
Considering the flames and intolerance, shouldn't USENET be spelle
1 - 100 of 196 matches
Mail list logo