Re: Utility for generating DB schema?

2012-06-01 Thread Octavian Rasnita
From: "John SJ Anderson" Subject: Re: Utility for generating DB schema? On Friday, June 1, 2012 at 9:22 AM, Mark Haney wrote: On 06/01/2012 08:54 AM, John SJ Anderson wrote: > > Look at DBIx::Class::Schema::Loader. Yeah, but I could have sworn there was another utility that did the same thi

Re: Utility for generating DB schema?

2012-06-01 Thread John SJ Anderson
On Friday, June 1, 2012 at 9:22 AM, Mark Haney wrote: > On 06/01/2012 08:54 AM, John SJ Anderson wrote: > > > > > Look at DBIx::Class::Schema::Loader. > > Yeah, but I could have sworn there was another utility that did the same > thing. Maybe a wrapper around that module or something. I just ca

Re: Utility for generating DB schema?

2012-06-01 Thread Mark Haney
On 06/01/2012 08:54 AM, John SJ Anderson wrote: Look at DBIx::Class::Schema::Loader. Yeah, but I could have sworn there was another utility that did the same thing. Maybe a wrapper around that module or something. I just can't remember it. Ah well. Thanks anyway. -- Mark Haney Soft

Re: Utility for generating DB schema?

2012-06-01 Thread John SJ Anderson
On Friday, June 1, 2012 at 8:46 AM, Mark Haney wrote: > A while back I used a utility that generated database Schema perl > modules automatically. Now I can't remember what that utility was > called, does anyone else know? I'd prefer not creating these by hand if > I can help it. > Look at DB

Utility for generating DB schema?

2012-06-01 Thread Mark Haney
A while back I used a utility that generated database Schema perl modules automatically. Now I can't remember what that utility was called, does anyone else know? I'd prefer not creating these by hand if I can help it. -- Mark Haney Software Developer/Consultant AB Emblem ma...@abemblem.co

Re: Issues with selectall_arrayref and perl 5.14

2012-06-01 Thread Mike Martin
Hi is anyone aware of any issues with DBD/DBI and perl 5.14.2? I have the following code (from memory) my $freqs=$dbh->selectall_hashref("select frequency,tsid,bandwidth from freqs","frequency"); Which in 5.14.1 gave me a hash of hashes , however in 5.14.2 and associated updates with fedora 17 (

Issues with selectall_arrayref and perl 5.14

2012-06-01 Thread Mike Martin
Hi is anyone aware of any issues with DBD/DBI and perl 5.14.2? I have the following code (from memory) my $freqs=$dbh->selectall_hashref("select frequency,tsid,bandwidth from freqs","frequency"); Which in 5.14.1 gave me a hash of hashes , however in 5.14.2 and associated updates with fedora 17 (

Re: Regex behavior in command line

2012-06-01 Thread Rob Dixon
On 31/05/2012 18:23, Jon Forsyth wrote: I'm using the following line in Terminal, on OSX Lion, but I can't seem to match parentheses '()': perl -n -e 'print if(/\\(Submit\\)/)' visits/admin_add.ctp I tried with one backslash in front of each '(' ')' as well to no avail. If I remove the '\'s