Sponsored Content
Top Forums UNIX for Advanced & Expert Users Perl - Programmers manual online? Post 17022 by AtleRamsli on Sunday 10th of March 2002 09:32:22 AM
Old 03-10-2002
Thanks, honorable Perl hackers Smilie !

I now have about 3 weeks of of studying to do, but I don't think I'll become proficient in Perl, since I am a mediocre shell-scripter anyway, I tend to write awkable or sedable things in C or even Java or Beta (!) - the worst I've done is probably write a [Reboot?Yes/No] in ProLog :-)

But I already see how a shell script could evolve into a full-fledged application, and I definitely see the value of filling the gap between csh and c/c++.
I think I will have great fun with this, so
let me give you something back ...

--- ICON --------------------------------------

At a bookstore there was a used book called
"The Icon programming language", by Ralph E. & Madge T. Griswold, priced ridiulously at a couple of E$.
A quick look at the back cover told me it was worth the price and more.

http://www.cs.arizona.edu/icon/index.htm

It is sort of "Perl meets Pascal" - not OO, but I guarantee you you don't need it.
ProLog, Lisp and an OO version of Icon are implemented on little more than an A4-page ...

her eis a program that takes search strings as arguments, and writes out all the matches, with the offset of the matched string:

mtc.icn:

procedure main(args)
while line := read() do
every i := 1 to *args do write(find(args[i],
line))
end

try it with some names

mtc john jim jenny fubar snafu bin laden

and then type some text:

I met john and jim last nite, it will write 7 and 16.


I wanted to go back and pick up the rest of the books, they were lying in a 'cheap second hand book' box, ideal Xmas presents for hacker friends, but they were all gone the day after.
Ther are no more cheap "Perl Resource Kit"s either.Smilie

Atle Smilie
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

PERL Online Resources

Could someone suggest some good on-line PERL resources? tutorials and References? Thanks. Gregg (1 Reply)
Discussion started by: gdboling
1 Replies

2. News, Links, Events and Announcements

Good Essays For Programmers

Check the essays out. http://www.paulgraham.com (0 Replies)
Discussion started by: photon
0 Replies

3. What is on Your Mind?

Suggested venues to look for advanced C programmers

Can someone suggest any online venues to assist in recruiting a senior C programmer (looking for someone interested in working on kerberos code). I've tried a bunch of the open source and higher ed lists (this is for Univ. of Michigan). The commercial services such as Dice or monster yield a... (7 Replies)
Discussion started by: painman
7 Replies

4. Shell Programming and Scripting

Reading PL/SQL output online from perl??

Hi there, I got this situation at job. First i have a Perl script that connect to Oracle 10g and execute a package. That package execute severals transactions and must generate log about process status each interval of time. What i'm doing now is saving the plsql package log in an auxiliar... (4 Replies)
Discussion started by: jparra
4 Replies

5. UNIX and Linux Applications

Online insert MySQL rows by perl-script

Hello, Met a problem when I tried to insert rows to MySQL database from an old book that fits my learning level (MySQL and Perl for the Web, by Paul DuBois, 2001). First, under mysql console I created a database: webdb and the table: todo. Then I draft the perl-cgi script to have online page.... (0 Replies)
Discussion started by: yifangt
0 Replies

6. Shell Programming and Scripting

Shell quoting rules for other languages programmers

I've seen so many times that programmers were confused about shell quoting and white spaces interpretation, that I decided to investigate that problem deeper. And my conclusion is that quoting in shells is very different from other programming languages. Programmers who have bigger experience in... (6 Replies)
Discussion started by: wyderkat
6 Replies

7. Programming

Hello UNIX programmers

i have MOTIF installed X11 a easy program is saved as hello.c there is the following message where can i get the X11/intrinsic.h , file ??? need help to compile my system : MX-16 Linux Debian Jessie / i386 hans@mx1:~/Documents $ cc push.c -o push -lXm -lXt -lX11 In file included from... (0 Replies)
Discussion started by: Zabo
0 Replies

8. Forum Support Area for Unregistered Users & Account Problems

Trojan is detected when I visit Programmers forum

When I visit Programmers forum my ESET Nod32 detects TrojanDownloader.Pegel.BH.trojan I don't know when it started, as I visited the site today after staying off-line a few days. (2 Replies)
Discussion started by: migurus
2 Replies

9. What is on Your Mind?

Multics Systems Programmers Manual as of 1969-04-01, comprising 996 PDF Files

While working on my current "UNIX history project" I ran across this: Jerry Saltzer created an online scanned copy of the Multics Systems Programmers' Manual (MSPM) in this directory. Based on the 1969-04-01 MSPM, the repo comprising 996 PDF files. In order to help preserver the MSPM, ... (1 Reply)
Discussion started by: Neo
1 Replies

10. What is on Your Mind?

The poorest of computer users are programmers...

Hi guys and gals... A mildly humourous blog from 2013, but I come into this category... ;oDD Languager: The Poorest Computer Users are Programmers (0 Replies)
Discussion started by: wisecracker
0 Replies
Perl::Critic::Policy::BuiltinFunctions::ProhibitUniversaUser(Contributed Perl DocumPerl::Critic::Policy::BuiltinFunctions::ProhibitUniversalCan(3)

NAME
Perl::Critic::Policy::BuiltinFunctions::ProhibitUniversalCan - Write "eval { $foo->can($name) }" instead of "UNIVERSAL::can($foo, $name)". AFFILIATION
This Policy is part of the core Perl::Critic distribution. DESCRIPTION
print UNIVERSAL::can($obj, 'Foo::Bar') ? 'yes' : 'no'; #not ok print eval { $obj->can('Foo::Bar') } ? 'yes' : 'no'; #ok As of Perl 5.9.3, the use of UNIVERSAL::can as a function has been deprecated and the method form is preferred instead. Formerly, the functional form was recommended because it gave valid results even when the object was "undef" or an unblessed scalar. However, the functional form makes it impossible for packages to override "can()", a technique which is crucial for implementing mock objects and some facades. See UNIVERSAL::can for a more thorough discussion of this topic. CONFIGURATION
This Policy is not configurable except for the standard options. SEE ALSO
Perl::Critic::Policy::BuiltinFunctions::ProhibitUniversalIsa AUTHOR
Chris Dolan <cdolan@cpan.org> COPYRIGHT
Copyright (c) 2006-2011 Chris Dolan. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of this license can be found in the LICENSE file included with this module. perl v5.16.3 2014-06-09 Perl::Critic::Policy::BuiltinFunctions::ProhibitUniversalCan(3)
All times are GMT -4. The time now is 02:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy