Thanks Andrew. >Shouldn't this also be printing the ->name of the new resource? > >A lot of the statements which you're adding will look screwy in an 80-col >xterm. Please wrap 'em. > -- new patch with Andrew's comments fixed. P.