T
Tad McClellan
I suggest you read up on
newsgroup etiquette.
It is better to remain silent and be thought a fool than to
open your mouth and remove all doubt.
*plonk*
I suggest you read up on
newsgroup etiquette.
I would be much oblidged to anyone who can
post a little snippet of code for me.
One last post Sherm, then I'm done. No matter what obscenities you
respond with,
I've been posting on these groups for over
10 years back when it was DejaNews
Showing the passion of your emotions is very unattractive
I've been posting on these groups for over
10 years back when it was DejaNews
Tad McClellan said:Please show us exactly what obscenities Sherm posted that
you are referring to.
(it is customary to quote some context when composing a followup.)
I for one, think you are making stuff up to support your
untenable position.
A. Sinan Unur said:(e-mail address removed) wrote in @c13g2000cwb.googlegroups.com:
Lucky for us, this is not Fifth Wheel, we don't care about what you find
attractive.
Arndt Jonasson said:Didn't you plonk him five minutes ago?
Arndt Jonasson said:What's "Fifth wheel"? I didn't find google's hits helpful.
However, here is some code for you.
Since I'm new to Perl, too, this is certanly not the best way to solve
your problem, but it works.
I took your OP, to analyze the problem by myself and practice coding.
1 #!/usr/bin/perl
3 use warnings;
4 use strict;
Good!
5 my $lastline="";
6 my @lastline;
7
8 while (<DATA>)
9 {
10 chomp ($lastline) if (/^\D/);
11 &printline;
12 $lastline = $_;
13 }
14 &printline;
This way I can go from a text file to Excel and then into a database.
Could anyone help me with this?
Anyone can feel free to post helpful messages despite Paul Lalli's
post. I realize it is trivial, I'm not a Perl programmer, and I am
reading up, but my project is waiting for this one simple task to be
completed before moving on so the faster I figure this out the better.
Paul if its so easy why not code to do it? I suggest you read up on
newsgroup etiquette.
Anyone can feel free to post helpful messages despite Paul Lalli's [snip]
Paul if its so easy why not post code to do it? I suggest YOU read up
on newsgroup etiquette.
In spite of Scotts message anyone can feel free to post useful
information. Scott, I already knew about those references. I've been
going through them. My post did not violate any rules for this group, I
have read those too. I am not new to newgroups, only to the Perl
language. You guys could make someone new here a little more
comfortable posting questions. Rather than more people telling me how
little I know about Perl, I would be much oblidged to anyone who can
post a little snippet of code for me.
Ahhhh...Thank you guys. I apologize for this threads explosion, it got
a little out of hand. I just in practice never reply to a post unless I
have the answer so it irks me when others don't follow that practice.
Next time I'll just remain silent. I really thank you guys for your
help.
One last post Sherm, then I'm done. No matter what obscenities you
respond with, and understand this, I'm happy. The code snippet Jim and
Brian gave me worked. Though in the spirit of learning I wouldn't mind
getting a break down of what each portion does, RegEx's confuse me.
But heres what I want to say, and in all logic try to understand,
putting emotions aside. When you ask someone how to do something and
they say "read the manual" in practice that is basically dismissing the
question. It has an arrogant "better than thou" tone to it. Is this
hard to understand? Perhaps Paul didn't understand this and still
doesn't recognize it. Perhaps he didn't even mean it this way, but
anyone who has asked a question and gotten "Pssh, thats easy read the
manual" knows exactly what I mean. First that assumes I haven't read
those docs. Which I am still doing (and was doing before I asked the
question) because I have a few more things I need to do in Perl after
this. But I don't see the harm in posting a question before I know
everything about Perl. Now I realize it is a mortal sin to have any
kind of response to a person on newsgroups who basically tells you to
"**** off" without multiple allies otherwise you get a barrage of
emails from that person and his cronies defending him. Thats a mistake
I made. I'm lucky that some people still were willing to help me
because no matter what you say after you have a swarm of enemies
bombarding you with replies, you always come out the bad guy. So thanks
to those who helped. But I just want to make that clear.
In spite of Scotts message anyone can feel free to post useful [snip]
little I know about Perl, I would be much oblidged to anyone who can
post a little snippet of code for me.
I'm not going to let my temper get the better of me Paul, like you just
did. Showing the passion of your emotions is very unattractive in
groups like this. Perhaps my "project coordinator" hired the wrong
"staff", true. But the facts are:
1) I have to get this done
OK!
2) Your post was of no help to me
3) I still need help
I hope you will accept an apology for insulting you. I have read the
guidelines for this group. I've been posting on these groups for over
10 years back when it was DejaNews and it has and probably will remain
a forum to ask people to write code for you, many people learn this way.
Michele said:There's hardly any need IMHO to include line numbers. To be fair,
personally I find them to be disturbing...
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.