From: "Shawn H Corey"
why is programming easy?
Because computers so exactly what you tell them to and no more.
Unless you use Windows... :-)
Octavian
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
On 01/02/2011 23:00, Uri Guttman wrote:
if you think that was unfriendly, you need to see more stuff on the
net.
It is not a defense to imply that anything you say is fine, as long as
somebody else does something worse.
- Rob
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For ad
On 01/02/2011 02:30, Chris Charley wrote:
#!/usr/bin/perl
use strict;
use warnings;
$_ = "[][12/21/10 18:39:22] [oasetup] [oasetup] [INFO] Installing the
HPOvXpl package...";
for my $re (qw{ ^\[(.+?)\] ^\[(.*?)\] }) {
my ($dt) = /$re/ or die "Horrible death\n";;
print $re, ' ', "'$dt'", "\n";
> "RK" == Robin Kenyon writes:
RK> I would say, as a beginner:
RK> Programming is easy because it's all about telling the computer what you
RK> want it to do (though you might think you've told it what you want it to
RK> do, it may do something else based on what you've actually told
Hi;
how do make certain that no input (keyboard + mouse paste) is outside
of 7-bit ASCII in a perl script?
Since I have no intention of correctly or completely handling input
that is outside of 7-bit ASCII, I thought it would be best to prevent
any characters outside of 7-bit ASCII from being inp
On Tue, 01 Feb 2011 18:36 -0500, "Uri Guttman"
wrote:
> > "RK" == Robin Kenyon writes:
>
> RK> As a teacher, I'd disagree...My experience leads me to believe
> bluntly
> RK> shooting down beginners discourages them. I wouldn't be surprised
> if
> RK> the poster has left the list a
On 11-02-01 06:36 PM, Uri Guttman wrote:
why is programming easy?
Because computers so exactly what you tell them to and no more.
and why is programming hard?
Because computers so exactly what you tell them to and no more.
--
Just my 0.0002 million dollars worth,
Shawn
Confusion is
> "RK" == Robin Kenyon writes:
RK> As a teacher, I'd disagree...My experience leads me to believe bluntly
RK> shooting down beginners discourages them. I wouldn't be surprised if
RK> the poster has left the list and perhaps even gone as far as leaving
RK> perl well alone, depending o
On Tue, 01 Feb 2011 18:00 -0500, "Uri Guttman"
wrote:
> > "RK" == Robin Kenyon writes:
>
> RK> With all due respect Uri, you're not being particularly friendly.
> RK> This is a list for beginners, people are going to say things you
> RK> think are stupid from time to time, but you sho
> "RK" == Robin Kenyon writes:
RK> With all due respect Uri, you're not being particularly friendly.
RK> This is a list for beginners, people are going to say things you
RK> think are stupid from time to time, but you should either stay
RK> your hand or be more constructive. Looking
With all due respect Uri, you're not being particularly friendly.
This is a list for beginners, people are going to say things you
think are stupid from time to time, but you should either stay
your hand or be more constructive. Looking at your last few
posts the quoted text below isn't an isolat
> "CC" == Chris Charley writes:
CC> #!/usr/bin/perl
CC> use strict;
CC> use warnings;
CC> $_ = "[][12/21/10 18:39:22] [oasetup] [oasetup] [INFO] Installing the
CC> HPOvXpl package...";
CC> for my $re (qw{ ^\[(.+?)\] ^\[(.*?)\] }) {
CC>my ($dt) = /$re/ or die "Horrible deat
#!/usr/bin/perl
use strict;
use warnings;
$_ = "[][12/21/10 18:39:22] [oasetup] [oasetup] [INFO] Installing the
HPOvXpl package...";
for my $re (qw{ ^\[(.+?)\] ^\[(.*?)\] }) {
my ($dt) = /$re/ or die "Horrible death\n";;
print $re, ' ', "'$dt'", "\n";
}
__END__
C:\Old_Data\perlp>perl t5
--- On Tue, 2/1/11, Uri Guttman wrote:
> From: Uri Guttman
> Subject: Re: problem getting multiple values returned from a subroutine
> To: "loan tran"
> Cc: beginners@perl.org
> Date: Tuesday, February 1, 2011, 10:59 AM
> > "lt" == loan
> tran
> writes:
>
> lt> I'm having problem gett
On 01/02/2011 18:51, loan tran wrote:
I'm having problem getting multiple values returned from a subroutine.
Thanks in advance for pointers.
My codes:
sub parse_title{
# Determine what company, month, and year to load by parsing the report
title
open IN, '<', $po_file or die "c
> "lt" == loan tran writes:
lt> I'm having problem getting multiple values returned from a subroutine.
lt>
lt> # Get required subroutines which need to be included.
#
lt>
I'm having problem getting multiple values returned from a subroutine.
Thanks in advance for pointers.
My codes:
#!/usr/bin/perl
use strict;
use warnings;
# Get required subroutines which need to be included.
On 01/02/2011 14:02, Chris Stinemetz wrote:
#!/usr/bin/perl
use warnings;
use strict;
use IO::Handle;
RAW->format_lines_per_page(100); # I will change this once I get strict
pragma to work.
format RAW_TOP =
@|||
I bottom posted. Any help is greatly appreciated.
Chris
-Original Message-
From: Chris Stinemetz [mailto:cstinem...@cricketcommunications.com]
Sent: Tuesday, February 01, 2011 8:03 AM
To: Shlomi Fish; beginners@perl.org
Subject: RE: sorting report
Shlomi,
See far bottom for my updated
Jim Gibson writes:
[...]
"John W. Krahn" writes:
[...]
Rob Dixon writes:
[...]
I had roughed out something that worked (sort of) and so found some of
the problems that come up (such as overwriting).
With the excellent input provided from the above cited posts, I can
now manage a pretty ni
Shlomi,
See far bottom for my updated code.
Chris Stinemetz
-Original Message-
From: Shlomi Fish [mailto:shlo...@iglu.org.il]
Sent: Tuesday, February 01, 2011 4:18 AM
To: beginners@perl.org
Cc: Chris Stinemetz
Subject: Re: sorting report
Hi Chris,
a few comments on your code:
On T
On 01/02/2011 02:41, Harry Putnam wrote:
Looking for a renaming tool with certain capabilities, but when
googling or searching cpan its quite hard to tell if the tool can or
not satisfy them. So, I hope someone can tell me right off the top of
their head if there is a renaming tool on cpan or an
Hi Chris,
a few comments on your code:
On Tuesday 01 Feb 2011 06:43:43 Chris Stinemetz wrote:
> I would like to sort my final report in the following order:
>
> $data[31],$data[32],$data[38]
>
> How would I add this into my following program to get the report sorted
> this way?
>
> Thanks in a
23 matches
Mail list logo