To help keep out the elements, you could look at using "weather strips" between the walls and the perlin overhang. It is available at hardware stores.
For the roof edge that has to travel over the wall, maybe use a hinged perlin so that it 'flips up' over the walls' edge.
I hope you have a big enough can opener to remove the roof,

.