While I was at Lowes I saw their no dig fencing. There are sections that are 4.7 ft long and 40 inches high which should be high enough to keep Puggles in. If you are not ready to fence a huge yard - I don't really know what size yard you have - you may be able to create a play space for him with this product. A nice installed fence is thousands. A 'run' maybe 15 to 20 feet long and 4 ft wide - if you have the yard space that will work, could be done easily for about $500 and it is movable and eventually disposable if you decide to put up a permanent fence enclosure.
I bought a small version to put around some flowers about 10 years ago and it is still in great condition. I use about 4 sections to keep my dog from doing the nasty on my walled patio. It blocks the entrance to the patio and he can't jump high enough to scale the wall. I don't mind cleaning after him but not right when I'm ready to have coffee a few feet away.
You use metal posts that come with a piece that gets hammered into the ground to connect the fence.
Editing to say I have a Yorkie and he can jump but not really high. If you have a jumper, this might not work for you.
YARDLINK Grand Empire XL 3.8-ft H x 4.7-ft W Black Steel Pressed Point Decorative Fence Panel in the Metal Fence Panels department at Lowes.com
YARDLINK Grand Empire XL 4-in x 4-in W x 5-ft H Black Galvanized Steel Universal Fence Post in the Metal Fence Posts department at Lowes.com