cancel
Showing results for 
Search instead for 
Did you mean: 

use of perl packages within traffic scripts

SOLVED
Highlighted
Occasional Contributor

use of perl packages within traffic scripts

Hi

In our application we use extensive validations using the Traffic Script rules. To simply the functionality we are planning to define things as packages so that they can be re-used in multiple traffic script rules.

eg

Define a perl package for a particular functionality which returns the output

Rule 1 - Extract data, call the function get the return value then further proceed with other functions based on return value

Rule 2 - Do something else

Rule 3 - call the function again with different inputs and do validations on the returned value

Is this something feasible using the traffic script rules?

Any thoughts on how this can be achieved

Regards

RD

1 REPLY
Occasional Contributor

Re: use of perl packages within traffic scripts

https://splash.riverbed.com/docs/DOC-1527

I am able to solve this based on the above

Regards

RD