Skip to Content
Minimal Perl
book

Minimal Perl

by Tim Maher
October 2006
Beginner
504 pages
12h 58m
English
Manning Publications
Content preview from Minimal Perl

Glossary

argument

When used in the context of a Unix command line, this term refers to one of the “words” separated by unquoted whitespace characters that may appear after the command’s name. For example, the following ls command has two arguments—one is an option, and the other a filename:

ls –l /tmp

The first echo command that follows has only one argument, because quoted strings aren’t split into their constituent words by the Shell as unquoted ones are. The second command has only four arguments, because redirection requests such as “> filename” are removed by the Shell before arguments are allocated:

echo 'This is one string'           # one argument
echo  Here are four words > save    # four arguments

When used in the context of a Perl function or a user-defined ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beginning Perl

Beginning Perl

Curtis Ovid Poe
Think Perl 6

Think Perl 6

Laurent Rosenfeld, Allen B. Downey
Perl by Example

Perl by Example

Ellie Quigley
Learning Perl 6

Learning Perl 6

brian d foy

Publisher Resources

ISBN: 9781932394504Publisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link