Perl-Sensitive Sunglasses | |
PerlMonks |
Re^2: Seeking good ways to structure cross-platform codeby Roger (Parson) |
on Sep 29, 2004 at 07:17 UTC ( [id://394877]=note: print w/replies, xml ) | Need Help?? |
I like Corion's approach, in fact I use a similar approach as well. I think this approach is cleaner than mixing codes for different platforms into a single module. My similar approach:
Having said that, simon's approach from File::Spec is nice too. As Perl programmers always quote: there is more than one way to do it. :-)
In Section
Seekers of Perl Wisdom
|
|