Procs and blocks


#1

Can anyone tell what is the advantage of passing procs instead of blocks
with example?