Harking back to Simon's[0] complaint of modules being non 5.005 compatible simply due to turning on the warnings pragma is there a way to turn it on for 5.6+?
Some poking turns up this mail on p5p from Nick Clark: http://makeashorterlink.com/?H28912404 which asks if if ($] >= 5.006) { eval "use warnings; 1" or die $@; } is the best way to do it. Sadly it doesn't seem to work as the use is scoped to the eval. In fact, any way I can think of fails as the warnings pragma is lexical so gets scoped inside the conditional block I wrap it in. So, is just missing out the line the way forward or is there an approved idiom that escapes my google foo? TIA s [0] http://london.pm.org/pipermail/london.pm/Week-of-Mon-20030310/017669.html
