Parent Directory | Revision Log
added slogovi which separate words into positional dependent variable length (until next aeiou)
1 | dpavlin | 3 | #!/usr/bin/perl |
2 | use strict; | ||
3 | use warnings; | ||
4 | |||
5 | my $debug = shift @ARGV; | ||
6 | |||
7 | dpavlin | 4 | use Test::More tests => 5; |
8 | dpavlin | 3 | use Data::Dump qw/dump/; |
9 | use Cwd qw/abs_path/; | ||
10 | |||
11 | BEGIN { | ||
12 | use_ok('EPrints'); | ||
13 | } | ||
14 | |||
15 | ok(my $abs_path = abs_path($0), "abs_path"); | ||
16 | $abs_path =~ s!/[^/]*$!/!; #!fix-vim | ||
17 | |||
18 | ok( EPrints->id( 42 ), 'id' ); | ||
19 | ok( EPrints->lookup( 'title' ), 'title' ); | ||
20 | dpavlin | 4 | |
21 | is_deeply( [ EPrints::slogovi( 'otorinolaringolog je duga rijeè' ) ], | ||
22 | [ qw/0o 1to 2ri 3no 4la 5ri 6ngo 7lo 8g 0je 0du 1ga 0ri 1je 2è/ ], | ||
23 | 'slogovi' ); | ||
24 |
Name | Value |
---|---|
svn:executable | * |
ViewVC Help | |
Powered by ViewVC 1.1.26 |