Hi Randal (and everybody),
On Thursday 21 Apr 2011 19:25:40 Randal L. Schwartz wrote:
> > "Rob" == Rob Dixon writes:
> Rob> As I mentioned in a previous post, you have softened recently. So
> Rob> it is likely that your life has improved and you are better
> Rob> provided for, and no longer h
On Thu, April 21, 2011 1:22 pm, Raymond Wan wrote:
> On Fri, Apr 22, 2011 at 01:25, Randal L. Schwartz
> wrote:
>>> "Rob" == Rob Dixon writes:
>> To discredit this post, as well as your other claims, I'm actually going
>> through the worst period in my life, exceeding my criminal arrest and
>
> On Thu, Apr 21, 2011 at 9:07 AM, Luis Roca
> wrote:
>> Again, if you provided some more information about the position
>> (the company's job description) I'm sure people can give you
>> more specific help â good luck!
>
> Wouldn't it be nice though if the people conducting interviews
> already
On Thu, Apr 21, 2011 at 9:07 AM, Luis Roca
wrote:
> Again, if you provided some more information about the position
> (the company's job description) I'm sure people can give you
> more specific help – good luck!
Wouldn't it be nice though if the people conducting interviews
already knew enough a
Thanks everybody. This gives me a lot of material to work on and think about. I
am likely to come back with more questions as I move further into the book.
Cheers, T.
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.
From: Tiago Hori
> Hey Guys,
>
> I am a real beginner so at the risk of being slammed by some, I wanted to
> get some input.
Don't worry, there are people here that will protect you and shout you were
slammed even if you do not feel hurt at all.
> 5. [10] Modify the previous program to tell ea
On Apr 21, 12:49 am, jyoti.bans...@gmail.com (Jyoti) wrote:
> Hello All,
>
> Please give me any link or any tutorial which will be helpful for
> preparation of PERL interview.
Do you have a job description of the position you're interviewing for?
Is this a web development position? Is this a syste
On 4/21/11 Thu Apr 21, 2011 11:26 AM, "Rob Dixon"
scribbled:
> On 21/04/2011 19:19, Jim Gibson wrote:
>> On 4/21/11 Thu Apr 21, 2011 10:59 AM, "Rob
>> Dixon"scribbled:
>>> On 21/04/2011 18:09, ai nguyen wrote:
I truly appreciate your responses. It is one of the interview
quest
- Original Message -
From: "Tiago Hori"
To:
Sent: Thursday, April 21, 2011 2:03 PM
Subject: Real Beginner
I was trying to do exercise 5 of the 5th edition of learning perl:
...
4. [10] Write a subroutine, named greet, that welcomes the person you name
by telling them the name of
- Original Message -
From: "Shlomi Fish"
To:
Cc: "Tiago Hori"
Sent: Thursday, April 21, 2011 3:01 PM
Subject: Re: Real Beginner
On Thursday 21 Apr 2011 22:03:27 Tiago Hori wrote:
print "Hi $name! ";
You're missing a "\n".
Naw, the original post indicates that they want a
Tiago Hori wrote:
Hey Guys,
I am a real beginner so at the risk of being slammed by some, I wanted to
get some input.
I'm a beginner, too. I've worked through this chapter somewhat
recently, so my advice shouldn't be too hard to understand :-)
Hopefully _I_ don't get slammed!
I was tryi
Hi Tiago,
Welcome aboard.
I'll supply some comments on how to improve your code:
On Thursday 21 Apr 2011 22:03:27 Tiago Hori wrote:
> Hey Guys,
>
> I am a real beginner so at the risk of being slammed by some, I wanted to
> get some input.
>
> I was trying to do exercise 5 of the 5th edition o
Thanks, Paul. A very thoughtful response--I will try this out (I don't
recall every encountering the ?? operator, but if it works as advertised I
will likely use it a lot).
--Marc
On Thu, Apr 21, 2011 at 3:29 PM, Paul Johnson wrote:
> On Thu, Apr 21, 2011 at 01:42:42PM -0400, Marc Perry wrote:
Beautiful; I should've known that brian d foy would have come up with a
solution--I even have a copy of that book!
Thanks,
--Marc
On Thu, Apr 21, 2011 at 3:10 PM, Brian Fraser wrote:
> http://www.effectiveperlprogramming.com/blog/314
>
> Brian.
>
> On Thu, Apr 21, 2011 at 2:42 PM, Marc Perry w
On Thu, Apr 21, 2011 at 04:33:27PM -0230, Tiago Hori wrote:
> Hey Guys,
>
> I am a real beginner so at the risk of being slammed by some, I wanted to
> get some input.
I certainly hope you don't get slammed, but I understand the
trepidation.
> Hi Betty! I've seen: Fred Barney Wilma
> So I work
On Thu, Apr 21, 2011 at 01:42:42PM -0400, Marc Perry wrote:
> Hi,
>
> I was parsing a collection of HTML files where I wanted to extract a certain
> block from each file, like this:
This is where everyone will tell you to use some dedicated HTML parsing
module.
> > ./script.pl *.html
>
> my $ac
http://www.effectiveperlprogramming.com/blog/314
Brian.
On Thu, Apr 21, 2011 at 2:42 PM, Marc Perry wrote:
> Hi,
>
> I was parsing a collection of HTML files where I wanted to extract a
> certain
> block from each file, like this:
>
> > ./script.pl *.html
>
> my $accumulator;
> my $capture_coun
Hey Guys,
I am a real beginner so at the risk of being slammed by some, I wanted to
get some input.
I was trying to do exercise 5 of the 5th edition of learning perl:
It is based on exercise 4, so I will paste both here:
4. [10] Write a subroutine, named greet, that welcomes the person you name
- Original Message -
From: "Rob Dixon"
To: "Randal L. Schwartz"
Cc:
Sent: Thursday, April 21, 2011 12:21 PM
Subject: Re: Nature of this list
On 21/04/2011 17:25, Randal L. Schwartz wrote:
People come online to learn Perl.
Yes! But you have succumbed to Germanic syntax where as
On Apr 21, 2011 2:27 PM, "Rob Dixon" wrote:
>
> On 21/04/2011 19:19, Jim Gibson wrote:
>>
>> On 4/21/11 Thu Apr 21, 2011 10:59 AM, "Rob Dixon"scribbled:
>>>
>>> On 21/04/2011 18:09, ai nguyen wrote:
I truly appreciate your responses. It is one of the interview
questions at go
- Original Message -
From: "Rob Dixon"
To:
Cc: "shawn wilson"
Sent: Thursday, April 21, 2011 1:14 PM
Subject: Re: time format conversion
On 21/04/2011 10:52, shawn wilson wrote:
If its always in that format, just split and define a hash and pass
it to dt. Otherwise, use dt:forma
On 21/04/2011 19:19, Jim Gibson wrote:
On 4/21/11 Thu Apr 21, 2011 10:59 AM, "Rob Dixon"scribbled:
On 21/04/2011 18:09, ai nguyen wrote:
I truly appreciate your responses. It is one of the interview
questions at google research! We like to know how someone could
approach a problem ?
Why beg
On 4/21/11 Thu Apr 21, 2011 10:59 AM, "Rob Dixon"
scribbled:
> On 21/04/2011 18:09, ai nguyen wrote:
>>
>> I truly appreciate your responses. It is one of the interview
>> questions at google research! We like to know how someone could
>> approach a problem ?
>>
>> Why begin perl forum? I lik
On 19/04/2011 10:42, Agnello George wrote:
File::path the option keep_root => 1 does not seem to work for me
use File::Path;
rmtree( '/temp/auto', { verbose =>1 , keep_root => 1});
it throw me the output
unlink /temp/auto/test6 unlink /temp/auto/test5 unlink /temp/auto/test4
rmdir
On 21/04/2011 10:52, shawn wilson wrote:
On Apr 21/04/2011 5:38 cc wrote:
In PHP, there's strtotime(), but there isn't one in Perl that I can
find.
Why would I want to bloated my core to mess with dates when half of
what I do doesn't need that functionality?
Because the 'bloat' is very tiny
On 21/04/2011 18:09, ai nguyen wrote:
I truly appreciate your responses. It is one of the interview
questions at google research! We like to know how someone could
approach a problem ?
Why begin perl forum? I like perl and We are looking for a perl
developer, or perl thinker.
Welcome all quest
Hi,
I was parsing a collection of HTML files where I wanted to extract a certain
block from each file, like this:
> ./script.pl *.html
my $accumulator;
my $capture_counter;
while ( <> ) {
if ( //.../labelsub/ ) {
$accumulator .= $_ unless /labelsub/;
if ( /labelsub/ && !$cap
On Fri, Apr 22, 2011 at 01:25, Randal L. Schwartz wrote:
>> "Rob" == Rob Dixon writes:
> To discredit this post, as well as your other claims, I'm actually going
> through the worst period in my life, exceeding my criminal arrest and
> conviction in 1995, which I had hoped would be the "forev
On 21/04/2011 17:25, Randal L. Schwartz wrote:
"Rob" == Rob Dixon writes:
Rob> As I mentioned in a previous post, you have softened recently.
So Rob> it is likely that your life has improved and you are better
Rob> provided for, and no longer have the need to abuse. I am very
happy Rob> f
All,
I truly appreciate your responses. It is one of the interview
questions at google research! We like to know how someone could
approach a problem ?
Why begin perl forum? I like perl and We are looking for a perl
developer, or perl thinker.
Welcome all questions/answers!
--
To unsubscribe,
On Apr 21, 2011 12:17 PM, "Karl Kaufman" wrote:
>
> Alternatives to shawn's response (w/o commenting on relative benefits)...
You won't mention the benefits, but I will... :)
>
> - Original Message - From: "cc"
> To:
> Sent: Thursday, April 21, 2011 4:37 AM
> Subject: time format conver
> "Rob" == Rob Dixon writes:
Rob> As I mentioned in a previous post, you have softened recently. So
Rob> it is likely that your life has improved and you are better
Rob> provided for, and no longer have the need to abuse. I am very happy
Rob> for you, and for the rest of the world who would r
On 20/04/2011 08:21, Jenda Krynicky wrote:
From: Peter Scott
Is this a question on a quiz or test you're taking? Do the people giving
the test have the expectation that your answer is a measure of your
abilities or those of people you've asked for help?
How far have you gotten with a solution
Alternatives to shawn's response (w/o commenting on relative benefits)...
- Original Message -
From: "cc"
To:
Sent: Thursday, April 21, 2011 4:37 AM
Subject: time format conversion
Hi,
I have two strings that shows different times and I
want to find the difference in # of hours.
On 19/04/2011 22:10, Shawn H Corey wrote:
Some people are intimidated by the smallest of criticism. It usually
can be traced back to a math or science teacher they hate. The way to
overcome this is to use gentle persuasion.
Erm, Shawn, please don't tell us about the science teacher that you
ha
On 19/04/2011 23:25, Randal L. Schwartz wrote:
>
> Here (and on monks and usenet and now StackOverflow), I'm (often)
> reacting to bad code. And I make no apologies for saying code is bad
> or wrong or illpurposed or a security threat, if that's indeed what
> it is, and I also believe that the p
On Apr 21, 2011 5:38 AM, "cc" wrote:
>
> Hi,
>
> I have two strings that shows different times and I
> want to find the difference in # of hours.
>
DateTime?
search.cpan.org/~drolsky/DateTime-0.66/lib/DateTime.pm
> In PHP, there's strtotime(), but there isn't one
> in Perl that I can find.
>
Why
Hi,
I have two strings that shows different times and I
want to find the difference in # of hours.
In PHP, there's strtotime(), but there isn't one
in Perl that I can find.
The string format is: mm/dd/ hh:mm:ss
So if t1 and t2 are of the aforementioned format,
I just do a t2 - t1 and it sho
38 matches
Mail list logo