X-Git-Url: https://git.llucax.com/z.facultad/75.08/llamadas.git/blobdiff_plain/73310f2ff88cbedca117a21a4e5810adc9e6a622..184f78908d5690f4f8d1b74d505c2b3b3ed388c2:/inst/callgen?ds=inline diff --git a/inst/callgen b/inst/callgen index d6aac8b..dde9fb7 100755 --- a/inst/callgen +++ b/inst/callgen @@ -22,8 +22,8 @@ $CANT_ARCHS = 10; $MIN_LINEAS = 1000; $MAX_LINEAS = 5000; -$MIN_ANIO = 1999; -$MAX_ANIO = 1999; +$MIN_ANIO = "1999"; +$MAX_ANIO = "2004"; $MIN_COD = "0000"; $MAX_COD = "9999"; @@ -37,11 +37,7 @@ our @codes; # C # Uso: load_codes() sub load_codes() { - while (<>) - { - ; - push(@codes, substr($_, 0, 2)); - } + push(@codes, substr($_, 0, 2)) while (); } #}}}