houseabsolute / HTML-Mason

High-performance, dynamic web site authoring system
https://metacpan.org/release/HTML-Mason/
Other
9 stars 18 forks source link

Fix uninitialized warnings from dir_path and path #2

Open timgimyee opened 9 years ago

timgimyee commented 9 years ago

Use empty string “” when dir_path or path return undef. This addresses bug 55159.

autarch commented 8 years ago

I'm sorry I never commented on this earlier. This looks sane but it really needs a test or two. Also, I wonder if it might be sane to simply make the the dir_path attribute value default to the empty string.