-- Forwarded message --
From: Raheel Hassan
Date: Sun, Dec 18, 2011 at 10:50 PM
Subject: Re: beginners Digest 19 Dec 2011 01:53:29 - Issue 4280
To: beginners-digest-h...@perl.org, "John W. Krahn"
Thanks John,
Yes i do not have year field. Year is not the problem i have to m
On 12/18/2011 06:05 PM, John W. Krahn wrote:
$ra is a scalar that holds a reference to an array. $ra->[0]
dereferences an array element. To dereference an array slice use:
@{ $ra }[ 0, 1, 2 ]
...
@{ $ra }[ 0 .. 2 ]
On 12/18/2011 06:14 PM, Shawn H Corey wrote:
> my @slice = @$ra[ 1, 2, 3 ];
..
On 11-12-18 09:05 PM, John W. Krahn wrote:
David Christensen wrote:
beginners@perl.org:
Hello,
I'm working on some classes with attributes that are array and hash
references, and am confused by what happens when I attempt to slice an
array or hash reference. For example:
7. "$ra->[0, 1, 2]"
David Christensen wrote:
beginners@perl.org:
Hello,
I'm working on some classes with attributes that are array and hash
references, and am confused by what happens when I attempt to slice an
array or hash reference. For example:
7. "$ra->[0, 1, 2]" evaluates to $ra->[2].
$ra is a scalar th
beginners@perl.org:
I'm working on some classes with attributes that are array and hash
references, and am confused by what happens when I attempt to slice an
array or hash reference. For example:
7. "$ra->[0, 1, 2]" evaluates to $ra->[2].
8. "$ra->[0 .. 2]" produces two "Use of uninitial
How do I unsubscribe from this list?? I tried a few times without success!
-Original Message-
From: Raheel Hassan [mailto:raheel.has...@gmail.com]
Sent: Saturday, December 17, 2011 5:58 PM
To: beginners@perl.org
Subject: Problems in dates and time additions by one minute.
Hi,
I hav
On 2011-12-17 09:20, T D, Vishnu wrote:
I am trying to convert the string abc.def.ghi.amm to abcdefghiamm
$string =~ s/\.+//g
using split and concatenation.
join "", split /\.+/, $string
--
Ruud
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands,
On 2011-12-15 22:53, Rajeev Prasad wrote:
perl5 is dead end
OTOH, Perl 5 is alive and kicking.
See for example:
http://www.perlfoundation.org/
http://www.slideshare.net/Tim.Bunce/perl-myths-200909
http://www.booking.com/hotel/de/sonnenhof-perl.en.html
--
Ruud
--
To unsubscribe, e-mail: begi