diff --git a/dports/_resources/port1.0/group/perl5-1.0.tcl b/dports/_resources/port1.0/group/perl5-1.0.tcl
index dcb6964..e4152a7 100644
a
|
b
|
proc perl5_convert_version {vers} { |
202 | 202 | set index 0 |
203 | 203 | while {$index < [string length $fractional] || $index < 6} { |
204 | 204 | set sub [string range $fractional $index [expr $index + 2]] |
205 | | if {[string length $sub] < 3} { |
206 | | append sub [string repeat "0" [expr 3 - [string length $sub]]] |
207 | | } |
208 | | append ret ".[scan $sub %u]" |
| 205 | append ret "." [string repeat "0" [expr 3 - [string length $sub]]] $sub |
209 | 206 | incr index 3 |
210 | 207 | } |
211 | 208 | return $ret |