Vous voulez voir cette page en français ? Cliquez ici.

Have one to sell? Sell yours here
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Programming Perl in the .NET Environment [Paperback]

Yevgeny Menaker , Michael Saltzman , Robert J. Oberg
5.0 out of 5 stars  See all reviews (5 customer reviews)

Available from these sellers.


Save Up to 90% on Textbooks
Hit the books in Amazon.ca's Textbook Store and save up to 90% on used textbooks and 35% on new textbooks. Learn more.
Join Amazon Student in Canada


Book Description

Sept. 24 2002 0130652067 978-0130652065 1
The complete Perl learning resource for novices and experienced programmers alike!
Advanced coverage- GUI development, networking applications, real database integration, and much more.
Includes many clear examples of using references (pointers) -- the cornerstone of all advanced Perl development!
All of the books many code examples can be accessed online. Modern Perl Programming is the Perl programming guide that helps you master all of Perls most robust features -- and makes the most of the language whether youre a beginner or an experienced Perl scripter! Michael Saltzman begins with a rapid-fire tutorial designed to jumpstart new Perl programmers and give experienced programmers a concise refresher on Perls key features. Then, using real applications (not just code snippets), youll gain an in-depth understanding of Perl data types, I/O, control structures, operators, arrays, hashes, and regular expressions. Next, move on to home-grown subroutines, report writing, accessing system resources, and working with the Perl debugger. Finally, Saltzman presents advanced techniques that can help you do more with Perl than you ever expected. Youll master data structures, object-oriented programming, working with references (pointers), network programming, CGI coding, GUI development, and integrating with enterprise-class databases. All of the books many code examples can be accessed online via an ftp site.For every programmer, Web developer, and system administrator who wants to learn Perl the right way -- and for Perl programmers who want to become far more effective.
Michael Saltzman is Vice President of /training/etc. He has developed extensive course materials, including courses in Perl, C/C++/STL, and Java, and has led a wide variety of technical seminars on programming languages and UNIX. Before pursuing a career as a technical lecturer and writer, he was employed for 23 years by the National Security Agency, where he taught a wide range of programming and UNIX system administration courses. He holds MS degrees in Computer Science from the American University and Johns Hopkins University.

Product Details


Product Description

From the Inside Flap

Preface

Microsoft .NET is an advance in programming technology that greatly simplifies application development both for traditional, proprietary applications and for the emerging paradigm of web services. The technology was designed to grow and evolve by providing us an option to add third-party products, such as plug-ins for Visual Studio and compilers for different languages. As part of an effort to integrate the popular Perl language into the Microsoft development environment in general and into the .NET family specifically, ActiveState has recently released a new product, PerlNET, which is part of the Perl Development Kit. With PerlNET it is now possible to use and create .NET components and to wrap existing Perl modules so that they are available to all .NET-compliant languages. PerlNET enables you to enjoy both worlds—.NET and Perl. By combining their features you'll have an ability to develop powerful robust components that may be reused in other .NET applications.

Audience

This book is intended for both .NET and Perl programmers to help bring these two rich worlds together. In Perl there is a saying: "there is always more than one way to do it." That is even more true now, as you can add "the .NET way." If you are a Perl programmer, this book will help you understand .NET and the vast array of services available to you. You will learn how, through Web services, you can connect to a wide variety of heterogeneous systems using standard Internet protocols. If you are a .NET programmer, you will learn why Perl has become one of the most popular languages in the world and how to access the vast CPAN archive of Perl modules.

Overview and Organization

The book has been designed to make it easy for you to navigate to what you need to know. Part 1 is an introduction to .NET and Perl and should be at least skimmed by everyone, with different emphasis depending on your background. Chapter 1 introduces .NET and covers the fundamentals of the .NET Framework. It also guides you to setting up a testbed consisting of .NET, Perl, and the special tools provided by ActiveState. If you are an experienced Perl programmer, you can skip directly to Part 2.

If you are new to Perl, you can quickly come up to speed with the tutorial on Core Perl in Chapters 2 to 8. It includes an in-depth treatment of objects in Perl and introduces the CPAN Perl archive. The treatment of Core Perl is very generic, and you will easily be able to apply what you have learned to any system that supports Perl. You can read much more about Perl in the book Modern Perl Programming by Michael Saltzman (Prentice Hall PTR, 2002). In that book you can also learn how to program Perl in a Unix environment. In this book we focus on programming Perl in Windows. Part of the joy of programming Perl in Windows is Visual Perl, which is an add-on to Visual Studio .NET. We cover Visual Studio and Visual Perl in Appendix A.

Part 2 covers in detail the use of PerlNET to bring together the worlds of .NET and Perl. We show you how to use .NET classes in Perl programs and how to create .NET components using Perl. Important .NET classes are surveyed, and there is coverage of using .NET in specific areas, including graphical user interfaces, database programming, and using ADO.NET, ASP.NET, and Web services.

You can learn much more about .NET from other books in The Integrated .NET Series. Also, Appendix B, "C# Survival Guide for PerlNET Programmers," will help you get started with C#, and you can see how Perl interoperates with .NET languages, using C#, the language designed for .NET, as an example.

Sample Programs

The only way to really learn a programming language is to read and write many, many programs. This book provides many programs that illustrate features of Perl and .NET. The sample programs are provided in a self-extracting file on the book's Web site. When expanded, a directory structure is created whose default root is c:\OI\NetPerl. The sample programs are in directories Chap01, Chap02, and so on. All the samples for a given chapter are in individual folders within the chapter directories. The names of the folders are clearly identified in the text. An icon in the margin alerts you to a code example. Visual Perl projects are provided for the sample programs, and they can also be built at the command line. There is also a stock management case study that illustrates many features of Perl and .NET working together in combination, as they would in a practical application. A special point is made of demonstrating the object-oriented features of Perl and .NET.A link is provided at that Web site for downloading the sample programs for this book.

From the Back Cover

  • Master PerlNET: the best of Perl and .NET together!
  • Build fully compliant .NET components in Perl
  • Practical, hands-on coverage of programming with Perl for Windows Forms, ADO.NET, ASP.NET, and more
  • Running case study: see how Perl and .NET concepts work together in a business application
  • Foreword by Dick Hardt, CEO of ActiveState

Get the best of both worlds: Perl flexibility and .NET power!

ActiveState's new PerlNET combines the incredibly flexible and useful Perl programming language with the immense resources and power of Microsoft's .NET platform. Programming Perl in the .NET Environment will help you make the most of Perl and .NET together—whether you're already familiar with Perl, or .NET, or neither. Using extensive code examples and a running case study, this book gives you practical insight for building robust object-oriented PerlNET applications, graphical user interfaces, database applications, and a whole lot more.

  • A practical overview of the .NET Framework and Common Language Runtime
  • Complete Perl programming review: operators, arrays, hashes, object-oriented Perl, and more
  • Using and creating .NET components with PerlNET
  • Leveraging the full power of the .NET Framework Classes
  • Graphical Perl programming with Windows Forms
  • Database integration with ADO.NET
  • Easy Web application and service development with Perl for ASP.NET (PerlASPX)
  • A detailed appendix on Visual Perl, the full-featured Perl plug-in for Visual Studio .NET


Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Reviews

4 star
0
3 star
0
2 star
0
1 star
0
5.0 out of 5 stars
5.0 out of 5 stars
Most helpful customer reviews
5.0 out of 5 stars Programming Perl in the .NET Environment July 9 2003
Format:Paperback
Love Perl but wish it had the ability to work with the .NET framework? Well, this is the book for you! Let me tell you, if you program with Perl, then this book will earn its purchase price again and again. I've always loved the ease of programming in Perl, especially how well it works with sockets and network programming, but these days, you've got to be able to program Graphical User Interfaces. I've never been able to master programming GUI's using Tcl/Tk, but the C# like format of programming Visual Perl made creating Windows Forms a snap. The book gives so many examples of working with the .NET classes in any practical situation. Its got a great format including a discussion of programming with the .NET framework, a strong overview of programming in Perl, and of course the definitive guidelines to programming in PerlNET. It covers creating your own classes, components, forms, database interaction, and working with ASP.NET. It also gives an overview of working with the CPAN modules which is invaluable. The authors are intelligent, well-spoken, and are clearly experts in this particular area. You have GOT to buy this book!
Was this review helpful to you?
5.0 out of 5 stars Programming Perl in the .NET Environment July 9 2003
Format:Paperback
Love Perl but wish it had the ability to work with the .NET framework? Well, this is the book for you! Let me tell you, if you program with Perl, then this book will earn its purchase price again and again. I've always loved the ease of programming in Perl, especially how well it works with sockets and network programming, but these days, you've got to be able to program Graphical User Interfaces. I've never been able to master programming GUI's using Tcl/Tk, but the C# like format of programming Visual Perl made creating Windows Forms a snap. The book gives so many examples of working with the .NET classes in any practical situation. Its got a great format including a discussion of programming with the .NET framework, a strong overview of programming in Perl, and of course the definitive guidelines to programming in PerlNET. It covers creating your own classes, components, forms, database interaction, and working with ASP.NET. It also gives an overview of working with the CPAN modules which is invaluable. The authors are intelligent, well-spoken, and are clearly experts in this particular area. You have GOT to buy this book!
Was this review helpful to you?
5.0 out of 5 stars Strange mix - comes up quite well Oct. 23 2002
Format:Paperback
Can you mix Perl and Dot.NET ??
I didn't think so till now.
I found the mix of Perl and Dot.NET quite strange - that's why I was surprise to see a book on that matter.
I felt very curious to see how can it work together.
Perl has lots of advantages that make it such an enormous success - very easy to write fast and efficient code.
Ask any unix admin / programmer.
The way Perl works with the rich options of Microsoft's new engine is good. I like the combination. It works well, the examples are quite good.
The first part of the book looks similar to every Dot.NET one can find, but the second part is the value for this book - and that's why I liked it.
Good techinal explainations and examples.
It was a good investment for me.
Was this review helpful to you?
5.0 out of 5 stars Programming Perl in the .Net Environment Dec 29 2002
By Craig
Format:Paperback
This book was not only extremely valuable to me in understanding how to use Perl in the .Net Environmental, but also contains the best presentation of how to build pure Perl Modules that I have read to date. These concepts really jelled for me after reading and utilizing the examples presented in the book.
With my limited experience in object oriented programming, this book presented the topics in the right order to overcome my lack of OO experience.
I did have a few instances of failing to find specific terms in the index.
This book will continue to be a valuable resource as I continue to refine my Perl skills in creating perl modules and utilizing Perl in the .Net environment.
Was this review helpful to you?
5.0 out of 5 stars Review from the lead author Sept. 27 2002
Format:Paperback
Hi, All!
I am the lead author of this book. Together with Michael Saltzman and Robert J. Oberg we tried to make this book as good as possible.
The book will be useful for you whether you are an experienced Perl programmer that wants to learn .NET technology or you are new to Perl.
The first part represents a tutorial of Perl itself. In the second part we dive into exciting world of programming Perl inside the .NET Environment.
I hope you will enjoy reading and our code samples will be useful and helpful for you.
Happy reading and programming!
Was this review helpful to you?
Want to see more reviews on this item?
Search Customer Reviews
Only search this product's reviews

Look for similar items by category


Feedback