[Israel.pm] Downloading using LWP

Berler Chanan chananb at centerity.com
Wed Feb 18 07:22:07 PST 2009

Just wanted to let the buzzz off me....sorry I was mistaken of taking this
too much....
You are correct....for ppl do answer me with good answers....

BUT, saying to ppl they need to know how to ask questions...well I don't
take it soo......
Sorry if I made a mistake of letting this go off

I will try asking more clearly next time :-), as for being a newbie....not
exactly...just needed to dust some of my perl off
But I did register the newbie mailing list, and that is why some of my
questions look odd..


-----Original Message-----
From: perl-bounces at perl.org.il [mailto:perl-bounces at perl.org.il] On Behalf
Of sawyer x
Sent: Wednesday, February 18, 2009 5:15 PM
To: Perl in Israel
Subject: Re: [Israel.pm] Downloading using LWP

(this is kinda long, sorry)

I honestly don't know what you're complaining about. Did you get
offended that people offered you advices?

When I started learning Perl (and actually even a long while after), I
still knew very little. My progress was slow because I did not have
the benefit of other people's experience. These days I subscribe to
mailing lists (like this), RSS feeds, read articles and talk to
developers as much as I can. Every mistake they point out to me is a
gem of experience that I'm getting for free!

When someone tells me "look, you could also do THIS better" even
though I didn't ask about it, he is being more helpful to me than the
person who answered my question only, because he is giving me EXTRA
knowledge which I don't have. He is helping me. I should (and try to)
be more grateful to the people who spend extra time to teach me extra

I'm sorry you saw it as people correcting you too much. You should
know that in most beginner forums and mailing lists split into two:
1 Those that give you a very detailed view of problems, where they
come from and every answer is so long you feel like dying already.
2. Those that just answer your question, you've learned very little
and your other skills do not get better

This mailing list provides you with answers and tries to help you
improve your other Perl skills so you could be an even better

Don't be offended, we love you and we want to help you with everything :)

On Wed, Feb 18, 2009 at 3:50 PM, Gabor Szabo <szabgab at gmail.com> wrote:
> Chanan,
> I am sorry you felt offended by the answers.
> I think people here were quite patient and gave you plenty of good advice.
> Maybe they were not as friendly as you would be but they certainly deserve
> a real "thank you" more than shutting the door on their face.
> Oh and BTW as much as we try to help newbies this is not designated as
> a "newbie" list.
> Gabor
> On Wed, Feb 18, 2009 at 3:10 PM, bc.other <bc.other at gmail.com> wrote:
> > Thanks all wise and smart people who lecture me on how to write my
> > questions.
> > Although the idea was to download binary files (if anyone noticed the
> > binmode(FILE))
> > Anyhow the issue was relayed to something else - the script does work
> > The problem was I compiled the plugin using CentOS5.1 while trying to
> > download&run it on CentOS4.1
> > which was tricky....anyhow I tested the HelloWorld script, and it works
> > wonder.
> >
> > PS: as far as I remember I registered Newbie mailing list, or am I
> > mistaken...so I wonder why ppl tend
> > to correct me "too much", tell you what...i decide to leave the mailing
> > list....
> > Thanks for your "help"
> > Chanan
> >
> > -----Original Message-----
> > From: perl-bounces at perl.org.il [mailto:perl-bounces at perl.org.il] On
> > Of Avishalom Shalit
> > Sent: Wednesday, February 18, 2009 2:43 PM
> > To: Perl in Israel
> > Subject: Re: [Israel.pm] Downloading using LWP
> >
> > btw,
> > not directly related to this thread,
> > and not implying anything,
> > but
> > http://www.catb.org/~esr/faqs/smart-questions.html
> > is a good read,
> > "In the world of hackers, the kind of answers you get to your
> > technical questions depends as much on the way you ask the questions
> > as on the difficulty of developing the answer. This guide will teach
> > you how to ask questions in a way more likely to get you a
> > satisfactory answer."
> >
> > --vish
> >
> > 2009/2/18 Gaal Yahas <gaal at forum2.org>:
> >> What Avishalom and Mikhael said.
> >>
> >> Note that it's worthwhile checking close as well: in some cases, e.g.
> >> disk full errors, you might only get the error then.
> >>
> >> While we're at it, consider the following two tips as well. They're
> >> unlikely to be related to your current issue but may help you in the
> >> future:
> >>
> >> 1. Use lexical filehandles.
> >>
> >> "FILE" is a global. You can "open my $fh, ..." instead, and $fh
> >> becomes lexically scoped.
> >>
> >> 2. Use 3-arg open.
> >>
> >> open my $fh, ">", $filename or die "open: $filename: $!";
> >>
> >> is better than open my $fh, ">$filename". This is even more
> >> significant in opens intended for reads. If your $filename
> >> unexpectedly starts with a ">" or starts/ends with a "|", for example,
> >> bad things can happen. The 3-arg form avoids those bad things.
> >>
> >> On Wed, Feb 18, 2009 at 12:42 PM, Mikhael Goikhman <migo at homemail.com>
> > wrote:
> >>> On 18 Feb 2009 11:06:17 +0200, Berler Chanan wrote:
> >>>>
> >>>> This is a small LWP utility I wrote:
> >>>> It works fine using Windows, but it doesn't work when I try to
> >>>> a file into unix, does anyone knows what I did wrong?
> >>>
> >>> Does not work meaning what exactly? File not created or something
> >>>
> >>>>     open FILE, ">$lv_plugin";
> >>>
> >>> Always check the system calls for failure:
> >>>
> >>>  my $filename = "/tmp/" . $lv_plugin;
> >>>  open FILE, ">$filename" or die "Can't save $filename: $!\n";
> >>>
> >>> Regards,
> >>> Mikhael.
> >>>
> >>> --
> _______________________________________________
> Perl mailing list
> Perl at perl.org.il
> http://perl.org.il/mailman/listinfo/perl
Perl mailing list
Perl at perl.org.il

More information about the Perl mailing list