Re: Guidance for a New Programmer/Perl User

2011-12-18 Thread Dr.Ruud
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:

Re: Split and concatenation

2011-12-18 Thread Dr.Ruud
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,

RE: Problems in dates and time additions by one minute.

2011-12-18 Thread Lou Pereira
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

slicing array references

2011-12-18 Thread David Christensen
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 uninitialized

Re: slicing array references

2011-12-18 Thread John W. Krahn
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 that

Re: slicing array references

2011-12-18 Thread Shawn H Corey
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]

Re: slicing array references

2011-12-18 Thread David Christensen
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 ]; ...

Problems in dates and time additions by one minute.

2011-12-18 Thread Raheel Hassan
-- Forwarded message -- From: Raheel Hassan raheel.has...@gmail.com 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 jwkr...@shaw.ca Thanks John, Yes i do not have year