|
42.
|
|
|
METHODS
|
|
|
|
METODE
|
|
Translated by
Elvira Hajdarevic
|
|
Reviewed by
Samir Ribić
|
|
|
|
Located in
../lib/Parse/DebianChangelog.pm:90
|
|
43.
|
|
|
init
|
|
|
|
init
|
|
Translated and reviewed by
Samir Ribić
|
|
|
|
Located in
../lib/Parse/DebianChangelog.pm:110
../lib/Parse/DebianChangelog/Entry.pm:31
|
|
44.
|
|
|
Creates a new object instance. Takes a reference to a hash as optional argument, which is interpreted as configuration options. There are currently no supported general configuration options, but see the other methods for more specific configuration options which can also specified to C<init>.
|
|
|
|
Stvara novi primjer objekta. Uzima referencu na hash kao neobavezni argument, što je protumačeno kao opcije konfiguracije. Trenutno ne postoje podržane opšte konfiguracijske opcije, ali vidi druge metode za specifičnije konfiguracijske opcije koje također mogu biti određene za C<init>.
|
|
Translated by
Najla Tihak
|
|
Reviewed by
Samir Ribić
|
|
|
|
Located in
../lib/Parse/DebianChangelog.pm:112
|
|
45.
|
|
|
If C<infile> or C<instring> are specified (see L<parse>), C<parse()> is called from C<init>. If a fatal error is encountered during parsing (e.g. the file can't be opened), C<init> will not return a valid object but C<undef>!
|
|
|
|
Ako su C<infile> ili C<instring> specificirani (vidi L<parse>), C<parse()> je pozvano iz C<init>. Ako se pojavila fatalna greška prilikom raščlanjivanja (npr. datoteka se ne može otvoriti), C<init> neće vratiti validan objekat nego C<undef>!
|
|
Translated by
Elvira Hajdarevic
|
|
Reviewed by
Samir Ribić
|
|
|
|
Located in
../lib/Parse/DebianChangelog.pm:118
|
|
46.
|
|
|
reset_parse_errors
|
|
|
|
reset_parse_errors
|
|
Translated and reviewed by
Samir Ribić
|
|
|
|
Located in
../lib/Parse/DebianChangelog.pm:146
|
|
47.
|
|
|
Can be used to delete all information about errors ocurred during previous L<parse> runs. Note that C<parse()> also calls this method.
|
|
|
|
Može biti korišteno za brisanje svih informacija o greškama koje su se pojavila prilikom prethodnog L<parse> pokretanja. Primjetiti da C<parse()> takođe poziva ovu metodu.
|
|
Translated by
Elvira Hajdarevic
|
|
Reviewed by
Samir Ribić
|
|
|
|
Located in
../lib/Parse/DebianChangelog.pm:148
|
|
48.
|
|
|
get_parse_errors
|
|
|
|
get_parse_errors
|
|
Translated and reviewed by
Samir Ribić
|
|
|
|
Located in
../lib/Parse/DebianChangelog.pm:177
|
|
49.
|
|
|
Returns all error messages from the last L<parse> run. If called in scalar context returns a human readable string representation. If called in list context returns an array of arrays. Each of these arrays contains
|
|
|
|
Vraća sve poruke grešaka zadnjeg L<parse> pokretanja. Ako je pozvan u skalarnom kontekstu vraća čitljive stringove. Ako je pozvan u kontekstu liste vrača array array-a. Svaki od ovih array-a sadrži
|
|
Translated by
Elvira Hajdarevic
|
|
Reviewed by
Samir Ribić
|
|
|
|
Located in
../lib/Parse/DebianChangelog.pm:179
|
|
50.
|
|
|
1.
|
|
|
|
1.
|
|
Translated and reviewed by
Samir Ribić
|
|
|
|
Located in
../lib/Parse/DebianChangelog.pm:186
|
|
51.
|
|
|
the filename of the parsed file or C<String> if a string was parsed directly
|
|
|
|
Naziv datoteke od parsirane datoteke ili C<String> je parsiran direktno ukoliko je u pitanju string
|
|
Translated by
Ajdin Mehic
|
|
Reviewed by
Samir Ribić
|
|
|
|
Located in
../lib/Parse/DebianChangelog.pm:188
|