01-28-2005
unix books
may i recommend richard stevens "Advanced Programming in Unix Env"(excellent book, very complete)
"Advanced Unix Programming" by marc rochkind(contains a lot more source code).
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi,
i am ajay. I need a good book for shell programming. a book which covers from fundamental to advance shell programming. (3 Replies)
Discussion started by: ajaygodbole
3 Replies
2. UNIX Desktop Questions & Answers
If I want to do high-end 3d animation, what skell scripting languages, and programming languages shoul I learn?
If you know any good resources for learning these languages they would be appreciated. (1 Reply)
Discussion started by: aloysius1001
1 Replies
3. Programming
Hi,
I am starting out to program on Unix, having had experience in C and C++ in DOS. I would like to know, of these three, which is the best book for learning C programming in Unix:
Advanced Unix Programming by Marc Rochkind
Advanced Unix Programming by Warren Gay
Advanced Programming in... (6 Replies)
Discussion started by: theicarusagenda
6 Replies
4. Shell Programming and Scripting
Hi all,
can any tell if we can get Indian edition of korn shell programming by example by O'brain from QUE publications. I tried to and did not find. If any one is having the infi then pls let me know.
thanks in advance.
ksrsarma (0 Replies)
Discussion started by: ksrsarma
0 Replies
5. Shell Programming and Scripting
Hi frnds i'm new to programming in shell, i just started to study in net but
i want some book to refere , so any one pls tell me which books i can refere
pls rate the book like for begining , user level , then for pandith or to become pandith level....... (3 Replies)
Discussion started by: ~monu~
3 Replies
6. Shell Programming and Scripting
Dear Friend,
please let me know the good book of the unix shell...
have a great day
uday naikwadi
9960496522 (2 Replies)
Discussion started by: udayn
2 Replies
7. Shell Programming and Scripting
Hi,
I am looking for some books that have examples of both Oracle SQL and Shell script being used together. For example, to insert 500 rows into a table using a script. I already have books that cover Shell scripting or SQL, but as separate subjects. I am looking for books that have both of... (3 Replies)
Discussion started by: handle123
3 Replies
8. UNIX for Dummies Questions & Answers
My knowledge is weak in understanding NIS servers, setting up user accounts, mounting network file systems, clearing stale NFS handles, those sorts of things that I encounter but my IT server team handles.
Can anyone recommend a good book on the subject? Something to demystify mount points,... (1 Reply)
Discussion started by: srhadden
1 Replies
9. Programming
Hi,
I've almost finished "Advanced Linux Programming" book. However, I feel as if I need dig deeper in IPC specially socket programming as well as multi-threading. Can anyone recommend a good book (preferably publically available)? (5 Replies)
Discussion started by: jaywalker
5 Replies
10. Shell Programming and Scripting
as title suggest i am looking for good book to start learning shell programming.please help me with this. (5 Replies)
Discussion started by: pvk21
5 Replies
Env(3pm) Perl Programmers Reference Guide Env(3pm)
NAME
Env - perl module that imports environment variables as scalars or arrays
SYNOPSIS
use Env;
use Env qw(PATH HOME TERM);
use Env qw($SHELL @LD_LIBRARY_PATH);
DESCRIPTION
Perl maintains environment variables in a special hash named %ENV. For when this access method is inconvenient, the Perl module "Env"
allows environment variables to be treated as scalar or array variables.
The "Env::import()" function ties environment variables with suitable names to global Perl variables with the same names. By default it
ties all existing environment variables ("keys %ENV") to scalars. If the "import" function receives arguments, it takes them to be a list
of variables to tie; it's okay if they don't yet exist. The scalar type prefix '$' is inferred for any element of this list not prefixed by
'$' or '@'. Arrays are implemented in terms of "split" and "join", using $Config::Config{path_sep} as the delimiter.
After an environment variable is tied, merely use it like a normal variable. You may access its value
@path = split(/:/, $PATH);
print join("
", @LD_LIBRARY_PATH), "
";
or modify it
$PATH .= ":.";
push @LD_LIBRARY_PATH, $dir;
however you'd like. Bear in mind, however, that each access to a tied array variable requires splitting the environment variable's string
anew.
The code:
use Env qw(@PATH);
push @PATH, '.';
is equivalent to:
use Env qw(PATH);
$PATH .= ":.";
except that if $ENV{PATH} started out empty, the second approach leaves it with the (odd) value "":."", but the first approach leaves it
with ""."".
To remove a tied environment variable from the environment, assign it the undefined value
undef $PATH;
undef @LD_LIBRARY_PATH;
LIMITATIONS
On VMS systems, arrays tied to environment variables are read-only. Attempting to change anything will cause a warning.
AUTHOR
Chip Salzenberg <chip@fin.uucp> and Gregor N. Purdy <gregor@focusresearch.com>
perl v5.18.2 2013-11-04 Env(3pm)