in reply to Matching between files in different machine..?
is there a possible way to send the rules.txt file with the agent code?
Not really sure I understand what you mean, but maybe you want something like
... my @rules = <DATA>; ... __DATA__ your rules here ...
(the __DATA__ section would be at the end of the script, after the code — see "Special Literals" in perldata)
I.e., with a __DATA__ line in place like this, you could simply append the contents of rules.txt to the script code, before sending it... (I'm assuming the rules are somehow changing more often than the script itself, or some such, otherwise you could have coded them right into the script)
|
|---|