02-27-2004
OK I've gone through the FAQ several times and some of it actually helped, but I come up with broken links because most of the FAQ postings are from 2000 or 2001.
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am totaly new at Unix, and have a job offer in about 6 months if I can get a handle on Unix comand lines and other needed things to get this job.Please help me I really want this job.I am about to finish my A+ cert., and have studied for the MCSE 4.0 (paid for a school and then Microsoft... (7 Replies)
Discussion started by: Chip1856
7 Replies
2. Linux
Okay, I have Mandrake Linux 9.1. I'm trying to set up different software sources from the source manager. My problem is, I know where I want the software to come from, but I don't know what to put in the "Relative path to synthesis/hdlist" area. Can someone help me and explain exactly what the... (3 Replies)
Discussion started by: Shadowmane
3 Replies
3. UNIX for Dummies Questions & Answers
Hi,
First of all. I'm a Unix newbe and never worked with unix (but I have got Linux for a few months), but I'd like to know where to get Unix or if it's x86 compatibel and all those questions. I know...ridiculous questions, but I really wanna know this.
So: Where do I get Unix?
Is it compatible... (1 Reply)
Discussion started by: Kotzkroete
1 Replies
4. UNIX for Dummies Questions & Answers
in new to the Linux os just install kubuntu with has beryl went through the whole deal with setting up everything and was wondering if anybody could help me figure out beryl i basically understand how it works but getting it to do the cube thing escape me help........:confused: (0 Replies)
Discussion started by: ksnovice
0 Replies
5. IP Networking
I new to linux and am setting up a slice server. I actually made it to installing Apache but some how I messed up the ip tables. I cant access the server by sftp or putty. Im using the web interface at slice. I am logged in as a super user but cant do certain funtions. I guess i need to be logged... (0 Replies)
Discussion started by: DigitalExtreme
0 Replies
6. UNIX for Dummies Questions & Answers
3/19
List members:
I have an extra HD in my early 2009 Intel Mac running OS 10.7.3 and Windows. Both of the latter systems have their own HD's devoted to them.
On this extra HD I'd like to install Free BSD or any other version of Unix that is close to the version on which Apple bases its... (0 Replies)
Discussion started by: mark1411
0 Replies
7. Red Hat
Hi,
I upgraded the physical memory on my RHEL5 server (BL460cG7) from 32G to 128G. When I rebooted the box I can see from the "hpasmcli" that the 128G memory has installed correctly.
However when I run a "free" command I can only see 64G of physical RAM? Is there a restriction on the max... (2 Replies)
Discussion started by: Duffs22
2 Replies
8. UNIX for Dummies Questions & Answers
Hi ,
I have file like this..
aaa|bbbb|cccc|dddd|fff|dsaaFFDFD|
Adsads|sas|sa|as|asa|saddas|dsasd|sdad|
dsas|dss|sss|sss|ddd|dssd|rrr|fddf|
www|fff|refd|dads|fsdf|00sd|
5fgdg|dfs00|d55f|sfds55|445fsd|55ds|sdf|
so I do no have any fix pattern and I want to remove extra... (11 Replies)
Discussion started by: pankajchaudhari
11 Replies
LEARN ABOUT DEBIAN
alzabo::faq
Alzabo::FAQ(3pm) User Contributed Perl Documentation Alzabo::FAQ(3pm)
NAME
Alzabo::FAQ - Frequently Asked Questions
How can I generate the SQL to turn one schema into another?
Assuming you have schema objects representing these already created (through reverse engineering for example) and both schemas are for the
same RDBMS, you can simply do this:
my @sql = $schema1->rules->schema_diff( old => $schema1, new => $schema2 );
The @sql array will contain all the SQL statements necessary to transform the schema in $schema1 into the schema in $schema2.
If you want to sync a schema object to the current state of the RDBMS backend's schema, check out the "Alzabo::Create::Schema->sync_back-
end" method.
How can I make a local copy of the documentation as HTML?
Alzabo comes with a script called "make_html_docs.pl". It takes three arguments. The first is the source file directory root. The second
is the target directory. The last is the absolute URL path that this target directory represents. If you have perl 5.6.0 or greated
installed, it is recommended that you use it to run this script as the Pod::Html module included with more recent Perls does a much better
job of making HTML.
If you were in the root of the source directory you might run this as:
perl ./make_html_docs.pl ./lib /usr/local/apache/htdocs/Alzabo_docs /Alzabo_docs
The script will create an index.html file as well as turning the documentation into HTML.
How can I optimize memory usage under mod_perl?
You should simply preload the Alzabo::Runtime module (which loads all the other modules it needs).
In addition, if you are using Alzabo::MethodMaker, make sure it runs in the parent. This module can create a lot of methods on the fly and
each method eats up some memory.
Finally, you can preload one or more schema objects. The easiest way to do this is to simply pass its name to Alzabo::Runtime when you use
it, like this:
use Alzabo::Runtime qw( schema1 schema2 );
How can I get objects for tables linked via the Mason GUI?
For example, if I have a websites2categories table which maps a list of categories that a given web site should display -- and uses
website_id and category_id in a 1..n relationship -- what is the proper way to set that up in the GUI and then in my code?
In the GUI, you can simply create a relationship from websites to categories, and declare it n..n. Alzabo will automatically create a ta-
ble called websites_categories, and you're free to change the name to whatever you want.
Then if you use "Alzabo::MethodMaker", Alzabo will see that you have a table with 2 cols, both of which are part of the PK, and that it has
1..n relationships with 2 other tables, and it will create the appropriate methods.
You can see what methods are being created by setting the "ALZABO_DEBUG" environment variable to "METHODMAKER" before loading Alz-
abo::MethodMaker. It'll spit everything out to STDERR. There's also the generated documentation, which is available via the
"docs_as_pod()" schema method after MethodMaker does its thing.
AUTHOR
Dave Rolsky, <autarch@urth.org>
perl v5.8.8 2007-12-23 Alzabo::FAQ(3pm)