The code snippet you sent me does exactly what I wanted. Assuming your permission, I'm posting it here for all to see.
if ( eval { require Clone; Clone::clone( "testdata" ); 1 } ) { eval "use Clone qw( clone );" } else { eval "use Clone::PP qw( clone );" }
Thanks to all and particularly to simonm for their help! This has indeed been a warm welcome to perlmonks.
In reply to Re^5: Bundling a module with a distribution
by anjoschu
in thread Bundling a module with a distribution (cross-platform)
by anjoschu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |