On Sat, Jun 19, 2010 at 20:21, Jim Gibson wrote:
snip
>> 'Hughes, D 2-0, O'Flaherty 2-0, Moylan 1-1'
snip
> The "clever" way is to use a regular expression that covers all of the
> possible cases. Here is one that works for your sample string:
>
> $x = q(Hughes, D 2-0, O'Flaherty 2-0, Moylan 1-1)
On Sat, Jun 19, 2010 at 20:07, wrote:
> I have some text that specifies inherited runners in baseball:
>
> 'Hughes, D 2-0, O'Flaherty 2-0, Moylan 1-1'
>
> I want to split on the comma and associate the numbers with that player. The
> problem is that sometimes the player's first initial is used
At 8:07 PM -0400 6/19/10, stu21...@lycos.com wrote:
I have some text that specifies inherited runners in baseball:
'Hughes, D 2-0, O'Flaherty 2-0, Moylan 1-1'
I want to split on the comma and associate the numbers with that player. The
problem is that sometimes the player's first initial is u
I have some text that specifies inherited runners in baseball:
'Hughes, D 2-0, O'Flaherty 2-0, Moylan 1-1'
I want to split on the comma and associate the numbers with that player. The
problem is that sometimes the player's first initial is used sometimes not.
Is there a clever way to consider t
> "pp" == philge philip writes:
pp> is it possible to change values of my hash "%position_counts"
pp> stored in the file without retrieving it back using "fd_retrieve"?
pp> if its not possible can you tell me how to store a huge hash data
pp> to a file or dbm and edit it without retr
philge philip wrote:
hi
Hello,
in the below script:
use Storable qw(store_fd fd_retrieve);
my %position_counts = ('name' => 'rahul');
open(OUT1, ">temp.txt");
store_fd(\%position_counts, *OUT1) || die "can't store to temp.txt\n";
close(OUT1);
is it possible to change values of my hash
Hi,
On Saturday 19 Jun 2010 12:56:36 philge philip wrote:
> hi
>
>
> in the below script:
>
> use Storable qw(store_fd fd_retrieve);
>
A few notes about your code. Please go over:
http://perl.net.au/wiki/Freenode_Sharp_Perl_FAQ
And:
http://www.perlfoundation.org/perl5/index.cgi?ancient_per
hi
in the below script:
use Storable qw(store_fd fd_retrieve);
my %position_counts = ('name' => 'rahul');
open(OUT1, ">temp.txt");
store_fd(\%position_counts, *OUT1) || die "can't store to temp.txt\n";
close(OUT1);
is it possible to change values of my hash "%position_counts" stored in the
On Saturday 19 Jun 2010 03:13:44 Joseph L. Casale wrote:
> I need a few modules not provided by Base or 3rd party rpm repos
> and since I don't want to mess up the rpm db, I am installing these
> cpan modules as non root into /opt/cpan by using 'makepl_arg' =>
> q[PREFIX=/opt/cpan]
>
> The module