IMPORTANT NOTICE: Please be advised that the Verification Academy Forums will be offline for scheduled maintenance on Sunday, September 14th at 1:00 US/Pacific.
After calling idct_process(pkt), both “pkt” and “item” has same interval property values which is undesired. So I used copy (do_copy) method to solve this issue so that process done on “pkt” is not reflected on “item” object.
$cast(pkt,item) is copying the handle, not the object. After executing this statement, put and item are two class variables containing the same class handle.