Command-line Perl scripts can make adminstering a UNIX box easier by replacing certain commands with some routine scripts. Find out how to take advantage of this approach. Perl is everywhere. Most ...
Computerworld: Unix Tip: Using associative arrays in the Korn shell and Perl
Linux Journal: Simple Linux Shell Scripts in Bash, Python, and Perl That Will Get You Up and Running
Simple Linux Shell Scripts in Bash, Python, and Perl That Will Get You Up and Running
I guess the tag is a variable, and it is checking for 9eaf - but does this exist in Perl? What is the "=~" sign doing here and what are the "/" characters before and after 9eaf doing?
What is the meaning of @_ in Perl? perldoc perlvar is the first place to check for any special-named Perl variable info. Quoting: @: Within a subroutine the array @ contains the parameters passed to that subroutine. More details can be found in perldoc perlsub (Perl subroutines) linked from the perlvar: Any arguments passed in show up in the array @_ . Therefore, if you called a function ...
What is the difference between "||" and "or" in Perl? Asked 16 years, 9 months ago Modified 6 years, 5 months ago Viewed 114k times
operators - What is the difference between "||" and "or" in Perl ...
@pst, <> is not a file handle, "null" or otherwise. It's an operator. Specifically, the readline operator. There's a reference to it as the "angle operator" in perlvar, although there isn't actually any such operator. The angle brackets are used by two operators: readline or glob. The operator depends on the contents of the brackets.