On 2011-06-11 17:20, JP wrote:
How can I load a library depending on the platform I run on?
A use statement is always processed at compile time, no matter if there are BEGIN blocks or if statements around it, or where it is in the source.
Check out "use if" (see perldoc if), or do the string-evalling yourself. -- Ruud -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/