Autodia::Handler::dia(3pm) User Contributed Perl Documentation Autodia::Handler::dia(3pm)NAME
Autodia::Handler::dia - AutoDia handler for dia
DESCRIPTION
This provides Autodia with the ability to read dia files, allowing you to convert them via the Diagram Export methods to images (using
GraphViz and VCG) or html/xml using custom templates.
The dia handler will parse dia xml files using XML::Simple and populating the diagram object with class, superclass and package objects.
the dia handler is registered in the Autodia.pm module, which contains a hash of language names and the name of their respective language -
in this case:
SYNOPSIS
use Autodia::Handler::dia;
my $handler = Autodia::Handler::dia->New(\%Config);
$handler->Parse(filename); # where filename includes full or relative path.
CONSTRUCTION METHOD
my $handler = Autodia::Handler::dia->New(\%Config); This creates a new handler using the Configuration hash to provide rules selected at
the command line.
ACCESS METHODS
$handler->Parse(filename); # where filename includes full or relative path.
This parses the named file and returns 1 if successful or 0 if the file could not be opened.
SEE ALSO
Autodia::Handler
Autodia::Diagram
AUTHOR
Aaron Trevena, <aaron.trevena@gmail.com>
COPYRIGHT AND LICENSE
Copyright (C) 2001-2007 by Aaron Trevena
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.1 or,
at your option, any later version of Perl 5 you may have available.
perl v5.12.4 2009-02-16 Autodia::Handler::dia(3pm)
Check Out this Related Man Page
Locale::Po4a::Dia(3) User Contributed Perl Documentation Locale::Po4a::Dia(3)NAME
Locale::Po4a::Dia - convert uncompressed Dia diagrams from/to PO files
DESCRIPTION
The po4a (PO for anything) project goal is to ease translations (and more interestingly, the maintenance of translations) using gettext
tools on areas where they were not expected like documentation.
Locale::Po4a::Dia is a module to help the translation of diagrams in the uncompressed Dia format into other [human] languages.
You can get Dia (the graphical editor for these diagrams) from:
http://www.gnome.org/projects/dia/
TRANSLATING WITH PO4A::DIA
This module only translates uncompressed Dia diagrams. You can save your uncompressed diagrams with Dia itself, unchecking the "Compress
diagram files" at the "Save Diagram" dialog.
Another way is to uncompress the dia files from command line with:
gunzip < original.dia > uncompressed.dia
STATUS OF THIS MODULE
This module is fully functional, as it relies in the Locale::Po4a::Xml module. This only defines the translatable tags (<dia:string>), and
filters the internal strings (the content of the <dia:diagramdata> tag), not interesting for translation.
SEE ALSO Locale::Po4a::TransTractor(3pm), Locale::Po4a::Xml(3pm), po4a(7)AUTHORS
Jordi Vilalta <jvprat@gmail.com>
COPYRIGHT AND LICENSE
Copyright (c) 2004 by Jordi Vilalta <jvprat@gmail.com>
This program is free software; you may redistribute it and/or modify it under the terms of GPL (see the COPYING file).
perl v5.14.2 2012-05-17 Locale::Po4a::Dia(3)
Con este código pretendo sacar el dia de la semana dada una fecha como parametro
por ejemplo.
./dia 27 10 2009
El resultado saliera:
Martes
El problema es que cuando llego casi al final el lunes etsa representado por un 0. el martes por 1.. y quiero hacer un bucle if para sustituir el 0... (1 Reply)
I was working on some Perl code that does signal handling and I came across this one liner and wasn't sure what it was doing.
local $SIG{__DIE__} = sub {$! = 2; die $_;};
I think the first part of the anonymous subroutine is setting $! to 2, but I am not sure what the second part is doing. ... (1 Reply)
Hi,
I would like to develop a script which parses the log file and generates a flow diagram ( graphical display ).
We have an application, for understanding the sequence of functions call made, we have an debug line at "ENTRY/EXIT" of function. I have a small log parsing script which grep the... (2 Replies)
amigos
necesito dejar en un directorio solo los archivos del dia anterio, como puedo hacer eso con una shell
Hello.
Per our forum rules, all posts must be in English.
We do provide translation services for posts from English to a number of languages as a benefit to users. However,... (16 Replies)