External Module XML::LibXSLT, XSLT,
is not installed on this computer.
Data::Stag::XSLTHandler in Data::Stag needs it for XSLT Transformations
External Module GD, Graphical Drawing Toolkit,
is not installed on this computer.
stag-drawtree.pl in Data::Stag needs it for drawing trees
External Module Tk, Tk,
is not installed on this computer.
stag-view.pl in Data::Stag needs it for tree viewer
Information:
There are some external packages and perl modules, listed above, which
stag uses. This only effects the functionality which is listed above:
the rest of stag will work fine, which includes nearly all of the
core functionality.
Enjoy the rest of stag, which you can use after going 'make install'
Checking if your kit is complete...
Looks good
Writing Makefile for Data
cp Data/Stag/StagDB.pm blib/lib/Data/Stag/StagDB.pm
cp Data/Stag.pm blib/lib/Data/Stag.pm
cp Data/Stag/SxprWriter.pm blib/lib/Data/Stag/SxprWriter.pm
cp Data/Stag/ChainHandler.pm blib/lib/Data/Stag/ChainHandler.pm
cp Data/Stag/StagI.pm blib/lib/Data/Stag/StagI.pm
cp Data/Stag/IndentParser.pm blib/lib/Data/Stag/IndentParser.pm
cp Data/Stag/SAX2Stag.pm blib/lib/Data/Stag/SAX2Stag.pm
cp Data/Stag/Simple.pm blib/lib/Data/Stag/Simple.pm
cp Data/Stag/Arr2HTML.pm blib/lib/Data/Stag/Arr2HTML.pm
cp Data/Stag/PerlWriter.pm blib/lib/Data/Stag/PerlWriter.pm
cp Data/Stag/XSLHandler.pm blib/lib/Data/Stag/XSLHandler.pm
cp Data/Stag/DTDWriter.pm blib/lib/Data/Stag/DTDWriter.pm
cp Data/Stag/XSLTHandler.pm blib/lib/Data/Stag/XSLTHandler.pm
cp Data/Stag/Base.pm blib/lib/Data/Stag/Base.pm
cp Data/Stag/Writer.pm blib/lib/Data/Stag/Writer.pm
cp Data/Stag/GraphHandler.pm blib/lib/Data/Stag/GraphHandler.pm
cp Data/Stag/XMLWriter.pm blib/lib/Data/Stag/XMLWriter.pm
cp Data/Stag/XMLParser.pm blib/lib/Data/Stag/XMLParser.pm
cp Data/Stag/StagImpl.pm blib/lib/Data/Stag/StagImpl.pm
cp Data/Stag/PodParser.pm blib/lib/Data/Stag/PodParser.pm
cp Data/Stag/IndentWriter.pm blib/lib/Data/Stag/IndentWriter.pm
cp Data/Stag/BaseGenerator.pm blib/lib/Data/Stag/BaseGenerator.pm
cp Data/Stag/Util.pm blib/lib/Data/Stag/Util.pm
cp Data/Stag/null.pm blib/lib/Data/Stag/null.pm
cp Data/Stag/HashDB.pm blib/lib/Data/Stag/HashDB.pm
cp Data/Stag/ITextParser.pm blib/lib/Data/Stag/ITextParser.pm
cp Data/Stag/BaseHandler.pm blib/lib/Data/Stag/BaseHandler.pm
cp Data/Stag/ITextWriter.pm blib/lib/Data/Stag/ITextWriter.pm
cp Data/Stag/SxprParser.pm blib/lib/Data/Stag/SxprParser.pm
cp scripts/stag-view.pl blib/script/stag-view.pl
/Users/cpanrun/build/5.10.0/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/stag-view.pl
cp scripts/stag-mogrify.pl blib/script/stag-mogrify.pl
/Users/cpanrun/build/5.10.0/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/stag-mogrify.pl
cp scripts/stag-grep.pl blib/script/stag-grep.pl
/Users/cpanrun/build/5.10.0/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/stag-grep.pl
cp scripts/stag-xml2itext.pl blib/script/stag-xml2itext.pl
/Users/cpanrun/build/5.10.0/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/stag-xml2itext.pl
cp scripts/stag-merge.pl blib/script/stag-merge.pl
/Users/cpanrun/build/5.10.0/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/stag-merge.pl
cp scripts/stag-parse.pl blib/script/stag-parse.pl
/Users/cpanrun/build/5.10.0/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/stag-parse.pl
cp scripts/stag-itext2sxpr.pl blib/script/stag-itext2sxpr.pl
/Users/cpanrun/build/5.10.0/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/stag-itext2sxpr.pl
cp scripts/stag-itext2simple.pl blib/script/stag-itext2simple.pl
/Users/cpanrun/build/5.10.0/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/stag-itext2simple.pl
cp scripts/stag-join.pl blib/script/stag-join.pl
/Users/cpanrun/build/5.10.0/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/stag-join.pl
cp scripts/stag-db.pl blib/script/stag-db.pl
/Users/cpanrun/build/5.10.0/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/stag-db.pl
cp scripts/stag-filter.pl blib/script/stag-filter.pl
/Users/cpanrun/build/5.10.0/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/stag-filter.pl
cp scripts/stag-handle.pl blib/script/stag-handle.pl
/Users/cpanrun/build/5.10.0/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/stag-handle.pl
cp scripts/stag-drawtree.pl blib/script/stag-drawtree.pl
/Users/cpanrun/build/5.10.0/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/stag-drawtree.pl
cp scripts/stag-query.pl blib/script/stag-query.pl
/Users/cpanrun/build/5.10.0/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/stag-query.pl
cp scripts/stag-findsubtree.pl blib/script/stag-findsubtree.pl
/Users/cpanrun/build/5.10.0/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/stag-findsubtree.pl
cp scripts/stag-autoschema.pl blib/script/stag-autoschema.pl
/Users/cpanrun/build/5.10.0/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/stag-autoschema.pl
cp scripts/stag-flatten.pl blib/script/stag-flatten.pl
/Users/cpanrun/build/5.10.0/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/stag-flatten.pl
cp scripts/stag-splitter.pl blib/script/stag-splitter.pl
/Users/cpanrun/build/5.10.0/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/stag-splitter.pl
cp scripts/stag-diff.pl blib/script/stag-diff.pl
/Users/cpanrun/build/5.10.0/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/stag-diff.pl
cp scripts/stag-itext2xml.pl blib/script/stag-itext2xml.pl
/Users/cpanrun/build/5.10.0/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/stag-itext2xml.pl
Manifying blib/man1/stag-view.pl.1
Manifying blib/man1/stag-mogrify.pl.1
Manifying blib/man1/stag-grep.pl.1
Manifying blib/man1/stag-handle.pl.1
Manifying blib/man1/stag-drawtree.pl.1
Manifying blib/man1/stag-query.pl.1
Manifying blib/man1/stag-merge.pl.1
Manifying blib/man1/stag-parse.pl.1
Manifying blib/man1/stag-findsubtree.pl.1
Manifying blib/man1/stag-join.pl.1
Manifying blib/man1/stag-autoschema.pl.1
Manifying blib/man1/stag-db.pl.1
Manifying blib/man1/stag-flatten.pl.1
Manifying blib/man1/stag-splitter.pl.1
Manifying blib/man1/stag-diff.pl.1
Manifying blib/man1/stag-filter.pl.1
Manifying blib/man3/Data::Stag::StagDB.3
Manifying blib/man3/Data::Stag::SxprWriter.3
Manifying blib/man3/Data::Stag.3
Manifying blib/man3/Data::Stag::ChainHandler.3
Manifying blib/man3/Data::Stag::IndentParser.3
Manifying blib/man3/Data::Stag::Simple.3
Manifying blib/man3/Data::Stag::SAX2Stag.3
Manifying blib/man3/Data::Stag::Arr2HTML.3
Manifying blib/man3/Data::Stag::XSLHandler.3
Manifying blib/man3/Data::Stag::PerlWriter.3
Manifying blib/man3/Data::Stag::XSLTHandler.3
Manifying blib/man3/Data::Stag::DTDWriter.3
Manifying blib/man3/Data::Stag::Writer.3
Manifying blib/man3/Data::Stag::XMLWriter.3
Manifying blib/man3/Data::Stag::GraphHandler.3
Manifying blib/man3/Data::Stag::XMLParser.3
Manifying blib/man3/Data::Stag::StagImpl.3
Manifying blib/man3/Data::Stag::PodParser.3
Manifying blib/man3/Data::Stag::BaseGenerator.3
Manifying blib/man3/Data::Stag::IndentWriter.3
Manifying blib/man3/Data::Stag::HashDB.3
Manifying blib/man3/Data::Stag::null.3
Manifying blib/man3/Data::Stag::ITextParser.3
Manifying blib/man3/Data::Stag::BaseHandler.3
Manifying blib/man3/Data::Stag::ITextWriter.3
Manifying blib/man3/Data::Stag::SxprParser.3
PERL_DL_NONLAZY=1 /Users/cpanrun/build/5.10.0/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/*.t
t/autoschema.........1..3
# Running under perl version 5.010000 for darwin
# Current time local: Tue Nov 27 15:49:11 2007
# Current time GMT: Tue Nov 27 23:49:11 2007
# Using Test.pm version 1.25
'(db
(species_set
(species+
(common_name "VARCHAR\(31\)")
(binomial "VARCHAR\(31\)")
(tax_id "INT")))
(gene_set
(gene+
(symbol "VARCHAR\(15\)")
(tax_id "INT")
(phenotype* "VARCHAR\(31\)")
(GO_term "VARCHAR\(63\)")
(map?
(cytological
(chromosome "INT")
(band "VARCHAR\(15\)")))
(synonym "VARCHAR\(7\)")))
(similarity_set
(pair+
(symbol+ "VARCHAR\(15\)"))))
ok 1
ok 2
ok 3
ok
t/chainhandler.......1..2
# Running under perl version 5.010000 for darwin
# Current time local: Tue Nov 27 15:49:12 2007
# Current time GMT: Tue Nov 27 23:49:12 2007
# Using Test.pm version 1.25
chainhandler...
checking..
ok 1
ok 2
ok
t/db.................1..1
# Running under perl version 5.010000 for darwin
# Current time local: Tue Nov 27 15:49:12 2007
# Current time GMT: Tue Nov 27 23:49:12 2007
# Using Test.pm version 1.25
lucas
george
star wars
sci-fi
ford
harrison
han solo
fisher
carrie
princess leia
hamill
mark
luke skywalker
earl-jones
james
darth vader
prowse
david
darth vader
guiness
alec
obi-wan kenobi
attack of the clones
sci-fi
mcgregor
ewan
obi-wan kenobi
portman
natalie
princess amigdala
jackson
peter
braindead
horror
-
-
-
lord of the rings
fantasy
lee
christopher
saruman
kellan
ian
gandalf
kurosawa
akira
seven samurai
samurai
mifune
toshiro
Kikuchiyo
cameron
john
terminator
sci-fi
schwarzenegger
arnold
terminator
terminator2
sci-fi
schwarzenegger
arnold
terminator
coen
joel
barton fink
odd
turturro
john
barton fink
goodman
john
charlie meadows
coen
ethan
barton fink
odd
turturro
john
barton fink
goodman
john
charlie meadows
star wars
sci-fi
lucas
george
US
han solo
ford
harrison
princess leia
fisher
carrie
luke skywalker
hamill
mark
darth vader
earl-jones
james
prowse
david
obi-wan kenobi
guiness
alec
attack of the clones
sci-fi
lucas
george
US
obi-wan kenobi
mcgregor
ewan
princess amigdala
portman
natalie
braindead
horror
jackson
peter
new zealand
-
-
-
lord of the rings
fantasy
jackson
peter
new zealand
saruman
lee
christopher
gandalf
kellan
ian
seven samurai
samurai
kurosawa
akira
japan
Kikuchiyo
mifune
toshiro
terminator
sci-fi
cameron
john
US
terminator
schwarzenegger
arnold
terminator2
sci-fi
cameron
john
US
terminator
schwarzenegger
arnold
barton fink
odd
coen
joel
US
coen
ethan
US
barton fink
turturro
john
charlie meadows
goodman
john
isa
dog
mammal
isa
cat
mammal
isa
mammal
animal
isa
zebra
horse
isa
horse
mammal
isa
unicorn
horse
isa
unicorn
imaginary-animal
instance-of
rover
dog
instance-of
whiskers
cat
instance-of
spot
dog
parent-of
spot
rover
ok 1
ok
t/emptytag...........1..3
# Running under perl version 5.010000 for darwin
# Current time local: Tue Nov 27 15:49:12 2007
# Current time GMT: Tue Nov 27 23:49:12 2007
# Using Test.pm version 1.25
foo
0
0
'(a
(b "foo")
(c "")
(d "0")
(e "0")
(f ""))
ok 1
ok 2
4
1
1
4
ok 3
ok
t/get................1..17
# Running under perl version 5.010000 for darwin
# Current time local: Tue Nov 27 15:49:13 2007
# Current time GMT: Tue Nov 27 23:49:13 2007
# Using Test.pm version 1.25
ok 1
ok 2
house mouse
Mus musculus
10090
fruitfly
Drosophila melanogaster
7227
human
Homo sapiens
9606
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
HGNC
9606
Hemochromatosis
Porphyria variegata
iron homeostasis
Hfe
MR2
10090
integral membrane protein
S:HGNC Hfe HGNC Hfe WNT3A Wnt3a
ok 12
ok 13
ok 14
ok 15
ok 16
ok 17
ok
t/handlers...........1..9
# Running under perl version 5.010000 for darwin
# Current time local: Tue Nov 27 15:49:13 2007
# Current time GMT: Tue Nov 27 23:49:13 2007
# Using Test.pm version 1.25
CACHING HGNC
CACHING Hfe
house mouse
Mus musculus
10090
fruitfly
Drosophila melanogaster
7227
human
Homo sapiens
9606
HGNC
9606
Hemochromatosis
Porphyria variegata
iron homeostasis
human
Homo sapiens
9606
Hfe
MR2
10090
integral membrane protein
house mouse
Mus musculus
10090
HGNC
Hfe
HGNC
9606
Hemochromatosis
Porphyria variegata
iron homeostasis
human
Homo sapiens
9606
Hfe
MR2
10090
integral membrane protein
house mouse
Mus musculus
10090
WNT3A
Wnt3a
Dunno what symbol WNT3A is
Dunno what symbol Wnt3a is
remaining tree:
'(db
(species_set
(species
(common_name "house mouse")
(binomial "Mus musculus")
(tax_id "10090"))
(species
(common_name "fruitfly")
(binomial "Drosophila melanogaster")
(tax_id "7227"))
(species
(common_name "human")
(binomial "Homo sapiens")
(tax_id "9606")))
(gene_set
(gene
(symbol "HGNC")
(tax_id "9606")
(phenotype "Hemochromatosis")
(phenotype "Porphyria variegata")
(GO_term "iron homeostasis")
(map
(cytological
(chromosome "6")
(band "p21.3"))
(foo "1"))
(species
(common_name "human")
(binomial "Homo sapiens")
(tax_id "9606")))
(gene
(symbol "Hfe")
(synonym "MR2")
(tax_id "10090")
(GO_term "integral membrane protein")
(species
(common_name "house mouse")
(binomial "Mus musculus")
(tax_id "10090"))))
(similarity_set
(pair
(symbol "HGNC")
(symbol "Hfe")
(gene
(symbol "HGNC")
(tax_id "9606")
(phenotype "Hemochromatosis")
(phenotype "Porphyria variegata")
(GO_term "iron homeostasis")
(map
(cytological
(chromosome "6")
(band "p21.3"))
(foo "1"))
(species
(common_name "human")
(binomial "Homo sapiens")
(tax_id "9606")))
(gene
(symbol "Hfe")
(synonym "MR2")
(tax_id "10090")
(GO_term "integral membrane protein")
(species
(common_name "house mouse")
(binomial "Mus musculus")
(tax_id "10090"))))
(pair
(symbol "WNT3A")
(symbol "Wnt3a")
(comment "Dunno what symbol WNT3A is")
(comment "Dunno what symbol Wnt3a is"))))
HGNC
Hfe
HGNC
9606
Hemochromatosis
Porphyria variegata
iron homeostasis
human
Homo sapiens
9606
Hfe
MR2
10090
integral membrane protein
house mouse
Mus musculus
10090
WNT3A
Wnt3a
Dunno what symbol WNT3A is
Dunno what symbol Wnt3a is
HGNC
9606
Hemochromatosis
Porphyria variegata
iron homeostasis
human
Homo sapiens
9606
Hfe
MR2
10090
integral membrane protein
house mouse
Mus musculus
10090
ok 1
ok 2
ok 3
ok 4
'(gene
(symbol "Hfe")
(synonym "MR2")
(tax_id "10090")
(GO_term "integral membrane protein")
(species
(common_name "house mouse")
(binomial "Mus musculus")
(tax_id "10090")))
ok 5
ok 6
ok 7
ok 8
ok 9
names=gene_set gene symbol tax_id phenotype phenotype GO_term map cytological chromosome band foo species common_name binomial tax_id gene symbol synonym tax_id GO_term species common_name binomial tax_id
=>gene_set
gene_set=>gene
gene=>symbol
gene=>tax_id
gene=>phenotype
gene=>phenotype
gene=>GO_term
gene=>map
map=>cytological
cytological=>chromosome
cytological=>band
map=>foo
gene=>species
species=>common_name
species=>binomial
species=>tax_id
gene_set=>gene
gene=>symbol
gene=>synonym
gene=>tax_id
gene=>GO_term
gene=>species
species=>common_name
species=>binomial
species=>tax_id
ok
t/handlers2..........1..9
# Running under perl version 5.010000 for darwin
# Current time local: Tue Nov 27 15:49:13 2007
# Current time GMT: Tue Nov 27 23:49:13 2007
# Using Test.pm version 1.25
original:
house mouse
Mus musculus
10090
house mouse
Mus musculus
10090
fruitfly
Drosophila melanogaster
7227
fruitfly
Drosophila melanogaster
7227
human
Homo sapiens
9606
human
Homo sapiens
9606
remaining tree:
'(db
(species_set
(species
(common_name "house mouse")
(binomial "Mus musculus")
(tax_id "10090"))
(species
(common_name "house mouse")
(binomial "Mus musculus")
(tax_id "10090"))
(species
(common_name "fruitfly")
(binomial "Drosophila melanogaster")
(tax_id "7227"))
(species
(common_name "fruitfly")
(binomial "Drosophila melanogaster")
(tax_id "7227"))
(species
(common_name "human")
(binomial "Homo sapiens")
(tax_id "9606"))
(species
(common_name "human")
(binomial "Homo sapiens")
(tax_id "9606"))))
ok 1
ok 2
ok 3
'( "")
'( "")
ok 4
ok 5
ok 6
ok 7
ok 8
'(set)
ok 9
ok
t/hashdb.............1..2
# Running under perl version 5.010000 for darwin
# Current time local: Tue Nov 27 15:49:14 2007
# Current time GMT: Tue Nov 27 23:49:14 2007
# Using Test.pm version 1.25
'(species
(common_name "fruitfly")
(binomial "Drosophila melanogaster")
(tax_id "7227"))
ok 1
HASHING
HASHED
gene:
symbol: HGNC
tax_id: 9606
phenotype: Hemochromatosis
phenotype: Porphyria variegata
GO_term: iron homeostasis
map:
cytological:
chromosome: 6
band: p21.3
ok 2
ok
t/homol..............1..9
# Running under perl version 5.010000 for darwin
# Current time local: Tue Nov 27 15:49:14 2007
# Current time GMT: Tue Nov 27 23:49:14 2007
# Using Test.pm version 1.25
HGNC
human
Homo sapiens
9606
Hemochromatosis
Porphyria variegata
iron homeostasis
Hfe
MR2
house mouse
Mus musculus
10090
integral membrane protein
ok 1
ok 2
ok 3
ok 4
ok 5
HGNC
human
Homo sapiens
9606
Hemochromatosis
Porphyria variegata
iron homeostasis
Hfe
MR2
house mouse
Mus musculus
10090
integral membrane protein
ok 6
ok 7
ok 8
ok 9
names=gene_set gene symbol species common_name binomial tax_id phenotype phenotype GO_term map cytological chromosome band gene symbol synonym species common_name binomial tax_id GO_term
=>gene_set
gene_set=>gene
gene=>symbol
gene=>species
species=>common_name
species=>binomial
species=>tax_id
gene=>phenotype
gene=>phenotype
gene=>GO_term
gene=>map
map=>cytological
cytological=>chromosome
cytological=>band
gene_set=>gene
gene=>symbol
gene=>synonym
gene=>species
species=>common_name
species=>binomial
species=>tax_id
gene=>GO_term
ok
t/parsestr...........1..6
# Running under perl version 5.010000 for darwin
# Current time local: Tue Nov 27 15:49:14 2007
# Current time GMT: Tue Nov 27 23:49:14 2007
# Using Test.pm version 1.25
bar
y
ok 1
example of mixedcontent
'(yo
(paragraph
(@
(id "1"))
(. "example of")
(bold "mixed")
(. "content")))
ok 2
ok 3
ok 4
'(yo
(paragraph
(@
(id "1"))
(. "example of")
(bold "mixed")
(. "content")))
TEXT
'(yo
(paragraph
(@
(id "1"))
(. "TEXT")))
ok 5
ok 6
ok
t/qmatch.............1..9
# Running under perl version 5.010000 for darwin
# Current time local: Tue Nov 27 15:49:14 2007
# Current time GMT: Tue Nov 27 23:49:14 2007
# Using Test.pm version 1.25
big dave
methyl
foo
shuggy
auchtermuchty
bar
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
2
1
2
ok 7
ok 8
2
ok 9
2
1
ok
t/roundtrip-attrs....1..5
# Running under perl version 5.010000 for darwin
# Current time local: Tue Nov 27 15:49:15 2007
# Current time GMT: Tue Nov 27 23:49:15 2007
# Using Test.pm version 1.25
ok 1
ok 2
ok 3
'(address
(a
(@
(href "mailto:cjm@fruitfly.org"))
(. "fred")))
ok 4
Stag - Structured Tag Library
Stag - Structured Tag Library
#000000
top
images/celtic-stag.gif
|
The Stag project currently consists of two perl modules,
both of which are available from
http://www.cpan.orgCPANor
http://sourceforge.net/projects/stagsourceforge:
Data::StagThis module is for manipulating data as recursively
nested tag/value pairs (
Structured
tags or
Simple
Tree
aggreggates). At this time there is only a perl
implementation,
http://search.cpan.org/perldoc?Data::StagData::Stag, but C and Lisp implementations
are planned.
Stags can easily be represented as XML or as lisp-style
S-expressions, or using the Stag native indented text
format. They can also be represented in perl using nested
arrays.
DBIx::DBStagThis module is for conversion between relational
representations and hierarchical (Stag)
representations. SQL query results are automatically
decomposed into the relations and a hierarchical structure
is inferred. This modules also allows you to create SQL
templates - a powerful way of reusing SQL statements
joining multiple tables.
http://search.cpan.org/perldoc?DBIx::DBStagDBIx::DBStag
|
http://sourceforge.net
88
SourceForge.net Logo
http://sourceforge.net/sflogo.php?group_id=68482&type=1
31
0
mailto:cjm@fruitfly.orgfred
Last modified: Mon Apr 12 11:33:36 PDT 2004
mailto:cjm@fruitfly.org
ok 5
ok
t/set-attrs..........1..3
# Running under perl version 5.010000 for darwin
# Current time local: Tue Nov 27 15:49:15 2007
# Current time GMT: Tue Nov 27 23:49:15 2007
# Using Test.pm version 1.25
'(person
(name "jim")
(phone_no "555-1111")
(phone_no "555-2222"))
'(person
(name "jim")
(phone_no "555-1111")
(phone_no "555-2222")
(phone_no "555-3333")
(phone_no "555-4444"))
'(dataset
(person
(name "jim")
(phone_no "555-1111")
(phone_no "555-2222")
(phone_no "555-3333")
(phone_no "555-4444"))
(person
(name "fred")
(phone_no "555-5555")))
'(dataset
(person
(name "jim")
(phone_no "555-1111")
(phone_no "555-2222")
(phone_no "555-3333")
(phone_no "555-4444"))
(person
(name "fred")
(phone_no "555-5555"))
(person
(name "fred")
(phone_no "555-5555")))
jim
555-1111
555-2222
555-3333
555-4444
jim
555-1111
555-2222
555-3333
555-4444
ok 1
ok 2
ok 3
ok
t/set................1..2
# Running under perl version 5.010000 for darwin
# Current time local: Tue Nov 27 15:49:15 2007
# Current time GMT: Tue Nov 27 23:49:15 2007
# Using Test.pm version 1.25
Sherlock Holmes
detective
James Bond
secret agent
Sherlock Holmes
detective
Great Britain
221B Baker Street
London
James Bond
secret agent
ok 1
Sherlock Holmes
detective
Great Britain
221B Baker Street
London
James Bond
secret agent
ok 2
ok
t/sxpr...............1..2
# Running under perl version 5.010000 for darwin
# Current time local: Tue Nov 27 15:49:16 2007
# Current time GMT: Tue Nov 27 23:49:16 2007
# Using Test.pm version 1.25
ok 1
ok 2
ok
t/unhash.............1..4
# Running under perl version 5.010000 for darwin
# Current time local: Tue Nov 27 15:49:16 2007
# Current time GMT: Tue Nov 27 23:49:16 2007
# Using Test.pm version 1.25
30
James
Hickory Street
10578
Katonah
NY
Sarah
34
Hill
The Manse
19 Chestnut Ln
11291
Garden City
NY
James
30
10578
Hickory Street
Katonah
NY
James
Sarah
34
11291
The Manse
19 Chestnut Ln
Garden City
NY
Hill
James
The Manse 19 Chestnut Ln
ok 1
Jill
John
Gerald
blonde
blue
Fred
Jill
John
Gerald
blonde
blue
Fred
Jill John Gerald
ok 2
ok 3
ok 4
ok
t/unset..............1..4
# Running under perl version 5.010000 for darwin
# Current time local: Tue Nov 27 15:49:16 2007
# Current time GMT: Tue Nov 27 23:49:16 2007
# Using Test.pm version 1.25
ok 1
ok 2
ok 3
ok 4
ok
t/write..............1..1
# Running under perl version 5.010000 for darwin
# Current time local: Tue Nov 27 15:49:16 2007
# Current time GMT: Tue Nov 27 23:49:16 2007
# Using Test.pm version 1.25
about to write to t/data/test.sxpr
written!!
'(db
(species_set
(species
(common_name "house mouse")
(binomial "Mus musculus")
(tax_id "10090"))
(species
(common_name "fruitfly")
(binomial "Drosophila melanogaster")
(tax_id "7227"))
(species
(common_name "human")
(binomial "Homo sapiens")
(tax_id "9606")))
(gene_set
(gene
(symbol "HGNC")
(tax_id "9606")
(phenotype "Hemochromatosis")
(phenotype "Porphyria variegata")
(GO_term "iron homeostasis")
(map
(cytological
(chromosome "6")
(band "p21.3"))))
(gene
(symbol "Hfe")
(synonym "MR2")
(tax_id "10090")
(GO_term "integral membrane protein")))
(similarity_set
(pair
(symbol "HGNC")
(symbol "Hfe"))
(pair
(symbol "WNT3A")
(symbol "Wnt3a"))))
ok 1
ok
t/xml1...............1..7
# Running under perl version 5.010000 for darwin
# Current time local: Tue Nov 27 15:49:17 2007
# Current time GMT: Tue Nov 27 23:49:17 2007
# Using Test.pm version 1.25
shuggybus driver55
tamforklift driverchips
ok 1
$VAR1 = {
'personset' => {
'person' => [
{
'name' => 'shuggy',
'age' => '55',
'job' => 'bus driver'
},
{
'name' => 'tam',
'job' => 'forklift driver',
'favourite_food' => 'chips'
}
]
}
};
shuggy
bus driver
55
tam
forklift driver
chips
shuggy
bus driver
100
tam
forklift driver
chips
checking..
shuggy
bus driver
100
ok 2
ok 3
tam
forklift driver
chips
ok 4
ok 5
ok 6
yyy
tam
forklift driver
chips
ok 7
ok
t/xml2...............1..4
# Running under perl version 5.010000 for darwin
# Current time local: Tue Nov 27 15:49:17 2007
# Current time GMT: Tue Nov 27 23:49:17 2007
# Using Test.pm version 1.25
$VAR1 = bless( [
'person',
[
bless( [
'name',
'davey'
], 'Data::Stag::StagImpl' ),
bless( [
'address',
'here'
], 'Data::Stag::StagImpl' ),
bless( [
'description',
[
bless( [
'hair',
'green'
], 'Data::Stag::StagImpl' ),
bless( [
'eyes',
'two'
], 'Data::Stag::StagImpl' ),
bless( [
'teeth',
5
], 'Data::Stag::StagImpl' )
]
], 'Data::Stag::StagImpl' ),
bless( [
'pets',
[
bless( [
'petname',
'igor'
], 'Data::Stag::StagImpl' ),
bless( [
'petname',
'ginger'
], 'Data::Stag::StagImpl' )
]
], 'Data::Stag::StagImpl' )
]
], 'Data::Stag::StagImpl' );
$VAR1 = bless( [
'person',
[
bless( [
'name',
'shuggy'
], 'Data::Stag::StagImpl' ),
bless( [
'address',
'there'
], 'Data::Stag::StagImpl' ),
bless( [
'description',
[
bless( [
'hair',
'red'
], 'Data::Stag::StagImpl' ),
bless( [
'eyes',
'three'
], 'Data::Stag::StagImpl' ),
bless( [
'teeth',
1
], 'Data::Stag::StagImpl' )
]
], 'Data::Stag::StagImpl' ),
bless( [
'pets',
[
bless( [
'petname',
'thud'
], 'Data::Stag::StagImpl' ),
bless( [
'petname',
'spud'
], 'Data::Stag::StagImpl' )
]
], 'Data::Stag::StagImpl' )
]
], 'Data::Stag::StagImpl' );
shuggy
there
red
three
1
thud
spud
desc
green
two
5
red
three
1
ok 1
shuggy
there
red
three
1
thud
spud
finding green haired people..
davey
here
green
two
5
igor
ginger
ok 2
shuggy
there
red
three
1
thud
spud
ok 3
'(a "")
'(foo
(bar "1"))
ok 4
ok
All tests successful.
Files=20, Tests=102, 6 wallclock secs ( 4.00 cusr + 0.90 csys = 4.90 CPU)
make: *** [htmlifypods] Hangup