Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Win32 Perl Cookbook

by osfameron (Hermit)
on Feb 19, 2001 at 22:46 UTC ( [id://59428]=perlquestion: print w/replies, xml ) Need Help??

osfameron has asked for the wisdom of the Perl Monks concerning the following question:

The Perl Cookbook has pride of place on my computer books shelf and is a great and trusted resource but... many of the recipes don't appear to work under Win32.

From a quick Super Search it seems that not only I, (Calling a Perl filter script from command line), but also others (e.g. SIGINT help), have experienced problems with blithely copying Cookbook scripts into the editor of champions (notepad.exe anyone?)

In my example above, even simple tasks like writing a filter (Recipe 7.7) are problematic.

And then, much of the Interface recipes in Section 15 don't look as if they will work (I get errors like Termios is not implemented on this architecture - Win32's problem no doubt, but not incredibly helpful...)
I haven't yet downloaded Term::ReadKey to test all of the recipes that include it, but really, Win32::Console looks like it might be easier (though of course much less portable!).

And unfortunately a simple Gas Mark - Centigrade table isn't going to fix all of these issues!

Is there already a "Win32 Perl Cookbook" with recipes using Win32 measurements? If not, would it be useful to start one up? I can post any of the solutions that I have found, for what they are worth!

Cheerio!
Osfameron

Replies are listed 'Best First'.
Re: Win32 Perl Cookbook
by mothra (Hermit) on Feb 19, 2001 at 23:02 UTC
    Unfortunately, as good as this book is (not only an excellent IDEA for a book that every language should have, but also extremely high-quality code), it's Yet Another Example of the bias Perl has towards Unix systems. In fact, I don't have the book with me right now, but I believe the authors make no hesitation in the introduction of the book that The Cookbook makes no secret about being mostly Unix-based.

    I hope and pray that the developers of Perl 6 work towards a more OS-agonostic Perl, and that many more Win32 based (no I mean, REALLY Win32-based, not "Learning Perl on Win32 Systems" :) ORA books come out.

Re: Win32 Perl Cookbook
by clemburg (Curate) on Feb 20, 2001 at 13:58 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://59428]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (9)
As of 2024-04-18 14:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found