F
fzhang
What does the following do?
($input) = $input =~ /^\s*(.+)\s*$/;
Thanks.
Frank
($input) = $input =~ /^\s*(.+)\s*$/;
Thanks.
Frank
What does the following do?
($input) = $input =~ /^\s*(.+)\s*$/;
Subject: newbie question
What does the following do?
($input) = $input =~ /^\s*(.+)\s*$/;
Keith Keller said:Please put the subject of your post in the Subject: of your post.
He did Keith,
next you will be wanting the whole message there as well
A. Sinan Unur said:No he did not.
UkJay said:Yes he did
It was a NEWBIE QUESTION
and his question was in the message!
Sorry Anno I don't fully agree with that...Anno Siegel said:Wrong. The message is about a substitution operation, not a newbie
question. "Substitution Operation" would be an appropriate subject,
"newbie question" isn't.
Anno
UkJay said:Yes he did
It was a NEWBIE QUESTION
and his question was in the message!
UkJay said:Sorry Anno I don't fully agree with that...
The poster thought it prudent to advise n.g. readers that his question was
of a simple nature.
I get so angry with pedantic replies about posts here! So this is my final
reply on this subject,
you carry on if you like, but I have had my say, and am far too busy to
play!
Ok I'll settle for newbie question - Substitution Operation
Ian Wilson said:The posting guidelines for this newsgroup
(http://mail.augustmail.com/~tadmc/clpmisc/clpmisc_guidelines.html) say
"Carefully choose the contents of your Subject header
You have 40 precious characters of Subject to win out and be
one of the posts that gets read. Don't waste them. Take care
while composing them, they are the key that opens the door to
getting an answer.
Spend them indicating what aspect of Perl others will find
if they should decide to read your article.
Do not spend them indicating ``experience level'' (guru, newbie...).
Do not spend them pleading (please read, urgent, help!...).
Do not spend them on non-Subjects
Perl question, one-word Subject...)
For more information on choosing a Subject see
``Choosing Good Subject Lines'':
http://www.catb.org/~esr/faqs/smart-questions.html#bespecific gives
similar good advice.
Ian said:Holy ****, are you guys ever anal! I have never seen anything like
this before. "Choosing Good Subject Lines."
UkJay said:From: "UkJay" <[email protected]>
Yes he did
It was a NEWBIE QUESTION
and his question was in the message!
Sorry Anno I don't fully agree with that...
The poster thought it prudent to advise n.g. readers that his question was
of a simple nature.
I get so angry with pedantic replies about posts here!
So this is my final
reply on this subject,
you carry on if you like, but I have had my say,
Ok I'll settle for newbie question - Substitution Operation
At 2006-03-01 04:02PM said:my $s = "\t \t \n test \n\n\n";
($s) = $s =~ m{ \A \s* (.+) \s* \z}x;
print "-$s-\n";
-test -
($s) = $s =~ m{ \A \s* (.+?) \s* \z}x;
Tad said:Are you "Ian Wilson" masquerading as "Roger Maynard",
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.