Make your own eBooks

Use our Remix App to mix & match content. In minutes make your own course packs, training bundles, custom travel guides, you name it. Even add your own title & cover.


Slices & Articles Get by the slice or add to your own ebook

Medium 9781449328061

16. Process Management

foy, brian d O'Reilly Media ePub

This is one of the odd chapters in Learning Perl because weve spent most of the book showing you how to write Perl that works on any of the systems that can run Perl. However, once you want to interact with external programs, you have to follow its rules for how things work.

Since Perl has its roots in the Unix toolbox and process model, you can still see vestiges of that. Many people have worked very hard to make this part of Perl as compatible as possible, but if you are using a non-Unix system, some of these exercises might not work for you. As a salve, Ive also added some exercises that wont work on Unix so you can test your skills on Windows too.

16.1. Write a program that changes the time zone by using the TZ environment variable then uses exec to run the date command. Get the valid time zones from your system. (Answer to Exercise 16.1)

16.2. Use the backticks operator to read the output of ls l command then report which users and groups it finds. Run it in the directory that contains the user home directories. If you are on Windows, you probably dont have the notion of users and groups, so you can skip this one. (Answer to Exercise 16.2)

See All Chapters
Medium 9781609940775

13 Building a Mission-Driven Global Business

Paul Polak Berrett-Koehler Publishers ePub

Just try building a business with only a terrific product and the will to win. You won’t get far without an organization of committed people and the structure to make the most of their talents.

Read as much as you want about leadership, organizational development, and management, and then boil it down to its essence. Chances are, you’ll come up with some version of three primary conditions for organizational success: a lofty vision, confident leadership, and inclusive management — all of which add up to inspiration. Shelves-full of excellent books have been written about these concepts, including dozens released by our publisher. We won’t presume to redefine those terms.

However, you know we’re not writing this book about business as usual. We won’t be content building companies that are successful simply in traditional terms, in that they make money — even buckets of money. Our goal is to build large, sustainable, transnational businesses that will help reduce poverty worldwide and on a large scale. Vision, leadership, and management, no matter how brilliant, won’t do the trick. They’re all necessary but insufficient. We contend that two additional conditions are needed for a business to succeed quickly in numerous countries on a truly big scale — and thrive into the future. One is an organizing principle. The other is a commitment to stakeholder-centered management.

See All Chapters
Medium 9781588433930

A Brief History

Lynne Sullivan Hunter Publishing ePub

The first people to live on the paradise island of Saint Lucia were peaceful, artistic Arawak Indians, who were indigenous to the entire Caribbean. (See "Life of the Arawaks & Caribs" in the Introduction.) They most likely arrived around 200 AD and supported themselves by hunting, fishing and farming. About 800 AD, the Caribs made an aggressive appearance, conquered the Arawaks, set up villages, and named the island Hewanorra, Land Where the Iguana is Found.


Many historians believe the island was first sighted by Europeans when Juan de la Cosa, one of Christopher Columbus's navigators, spotted land in that area in 1499. However, others allege that Christopher Columbus himself landed on Saint Lucia on December 13, 1502. Records show that the island is not within the routes known to be explored by Columbus, and some scholars credit Spanish explorers with discovering the island later in the 16th century.

The French, Dutch & English

By 1520, Saint Lucia was marked on a Vatican globe, but at that time it was merely a hideout for pirates and other bad chaps who wreaked havoc on legitimate businessmen trading in the islands. The most infamous was Francois le Clerc, whom the Spanish called Pie de Palo and the French labeled Jambe de Bois because of his wooden leg.

See All Chapters
Medium 9781588439390


Blair Howard Hunter Publishing ePub

Providenciales is open and unsettled, dotted with short palms and sea grapes. Chalky limestone roads wind across the flat land, connecting settlements like Blue Hills and The Bight.

But the traveler to Provo will soon realize that its desert terrain is just a backdrop to the clear waters and long beaches that are the main attractions. These sandy stretches can be miles long, dotted only with the footprints of animals and birds. You won't find beach vendors or hagglers on these shores, just a few tourists and locals. Highrises are forbidden, with resorts built no taller than three stories.

But most visitors come to Provo to do nothing at all. Days are spent on the beach or in the clear waters of the ocean.

This is a popular dive destination, with good visibility and warm waters that are home to hawksbill turtles, nurse sharks, octopi.

With the high number of both American visitors and expatriates in the Turks and Caicos, you'll find many cuisines represented on the islands.


For a taste of true island food, sample the conch, served as fritters, salads and sandwiches, as well as grouper, hogfish, soft-shell crab and spiny lobster.

See All Chapters
Medium 9780596001957

5. Flow Control

Arnold Robbins O'Reilly Media ePub

If you are a programmer, you may have read the last chapter — with its claim at the outset that the Korn shell has an advanced set of programming capabilities — and wondered where many features from conventional languages are. Perhaps the most glaringly obvious “hole” in our coverage thus far concerns flow control constructs like if, for, while, and so on.

Flow control gives a programmer the power to specify that only certain portions of a program run, or that certain portions run repeatedly, according to conditions such as the values of variables, whether or not commands execute properly, and others. We call this the ability to control the flow of a program’s execution.

Almost every shell script or function shown thus far has had no flow control — they have just been lists of commands to be run! Yet the Korn shell, like the C and Bourne shells, has all the flow control abilities you would expect and more; we examine them in this chapter. We’ll use them to enhance the solutions to some of the programming tasks we saw in the last chapter and to solve tasks that we introduce here.

See All Chapters

See All Slices