• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

README.mdH A D07-Sep-20211.1 KiB2112

create_sedml.plH A D07-Sep-20215.3 KiB16595

echo_sedml.plH A D07-Sep-20212.3 KiB6322

print_sedml.plH A D07-Sep-20214.4 KiB11871

README.md

1## Perl LibSedML Examples
2
3Examples in this folder contain basic perl examples that demonstrate the use of the libSedML library using perl. In order to run them you need to ensure that LibSEDML can be found. As I am not regularly using PERL, I usually do that by specifying the full path where i installed the library in my perl files, like so
4
5	use lib '/usr/local/lib/perl5/site_perl';
6
7or from the command line it would be possible to specify the directories to include directly:
8
9	perl -I/usr/local/lib/perl5/site_perl/5.14.2/x86_64-linux-gnu-thread-multi -I/usr/local/lib/perl5/site_perl/5.14.2/x86_64-linux-gnu-thread-multi/auto/libSEDML echo_sedml.pl
10
11The following examples are present:
12
13### echo_sedml.pl
14This basic example, just echos a SED-ML document, reading it and writing it again. It takes two arguments, an input file and the output file.
15
16### create_sedml.pl
17This example constructs an SED-ML document using the Perl API. It takes one argument, the output file name.
18
19### print_sedml.pl
20This example loads a given SED-ML document and prints an overview of its contents. It takes one argument, the SED-ML document to open.
21