Re: about ORM

2012-12-29 Thread Shlomi Fish
Hi Feng, On Sun, 30 Dec 2012 10:14:03 +0800 Feng He wrote: > Hello, > > I have a question that, what's the advantage of using an ORM instead of the > traditional DBI? And what's better for DBIx::Class and Class::DBI? > Avoid Class::DBI - it is old and lame. DBIx::Class is its more modern and

about ORM

2012-12-29 Thread Feng He
Hello, I have a question that, what's the advantage of using an ORM instead of the traditional DBI? And what's better for DBIx::Class and Class::DBI? Thanks. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org

Re: Learning perl, understanding the basics.

2012-12-29 Thread Om Prakash Singh
Hi Shlomi, On Saturday 29 December 2012 10:23 PM, Shlomi Fish wrote: Hi Omps, On Sat, 29 Dec 2012 22:12:14 +0530 Om Prakash Singh wrote: Hi All, I am new to perl and while going through the chapters of Learning perl, i just came through one excessive, while i was able to complete it, i just

Re: Learning perl, understanding the basics.

2012-12-29 Thread timothy adigun
Hi Om Orakash, but, when i use > $result = $number x $string; > I don't get any output at all, just wondering why this happens, any help > would be highly appreciable. > Binary "x" is the repetition operator. To get more please see this link http://perldoc.perl.org/perlop.html#Multiplicative-Ope

Re: Learning perl, understanding the basics.

2012-12-29 Thread Shlomi Fish
Hi Omps, On Sat, 29 Dec 2012 22:12:14 +0530 Om Prakash Singh wrote: > Hi All, > > I am new to perl and while going through the chapters of Learning perl, > i just came through one excessive, while i was able to complete it, i > just came across something that didn't work and i couldn't find a

Re: Learning perl, understanding the basics.

2012-12-29 Thread Danny Gratzer
That's because in this case the 'x' is acting as an operator which takes in a string on the left side, a number on the right side, and returns the string replicated as many times as the number. When you flip them, it tries to treat the string as a number, which is a problem. So it returns undef or

Learning perl, understanding the basics.

2012-12-29 Thread Om Prakash Singh
Hi All, I am new to perl and while going through the chapters of Learning perl, i just came through one excessive, while i was able to complete it, i just came across something that didn't work and i couldn't find any explanation for it. Would be great if i get some help in understanding this

Re: Pattern matching to hash

2012-12-29 Thread Dr.Ruud
On 2012-12-28 21:32, twle...@reagan.com wrote: I hope this is a simple fix. I want to check the beginning characters of items in a hash, and compare that to a scalar variable. I do not need for the entire value to match; just the first couple of characters. Here is a simple example of what I