Код:
#! / Usr / bin / perl my % vars ; my newcode = "" ; You are not allowed to view links. Register or Login ( FILE , "<$ ARGV [0]" ) ; codigo = <FILE> ; You are not allowed to view links. Register or Login ( FILE ) ; foreach $ line ( codigo ) { if ( $ line = ~ / September ( . + ) = "(. +)" / ) { $ Vars { $ 1 } = $ 2 ; } $ Line = ~ You are not allowed to view links. Register or Login /% ( \ w + ) : ~ ( \ d + ) , ( \ d + ) % / . You are not allowed to view links Register or Login ( $ vars { $ 1 } , $ 2 - 1 , $ 3 ) / eg ; You are not allowed to view links. Register or Login ( newcode , $ line ) ; } You are not allowed to view links. Register or Login newcode ;