Speaking of Perl

Under development: PCMCIA, wireless, etc.
Post Reply
Message
Author
User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

Speaking of Perl

#1 Post by Lobster »

We now have Perl

Does that mean we can have programs like this?
http://www.danga.com/perlbal/

not even sure what that does :oops:

eh . . . now what?
Last edited by Lobster on Wed 08 Aug 2007, 05:49, edited 1 time in total.
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
rarsa
Posts: 3053
Joined: Sun 29 May 2005, 20:30
Location: Kitchener, Ontario, Canada
Contact:

#2 Post by rarsa »

Now what you ask?

Now I'll be able to put some time improving the Network wizard to simplify the ndiswrapper process ;)
[url]http://rarsa.blogspot.com[/url] Covering my eclectic thoughts
[url]http://www.kwlug.org/blog/48[/url] Covering my Linux How-to

John Doe
Posts: 1681
Joined: Mon 01 Aug 2005, 04:46
Location: Michigan, US

#3 Post by John Doe »

Code: Select all

#!/usr/bin/perl
print "Hello World\n"
Drop that in a script and you can run it from the shell like:
./yourscript

http://www.freeperlcode.com/guide/
http://www.scriptarchive.com/
http://cgi.resourceindex.com/Programs_and_Scripts/Perl/

There are GUI apps too.

The link you posted looked like a server that would automatically balance a web server farm.

I'd start with some scripts first :-)

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

Perl tutorial

#4 Post by Lobster »

:oops:

Does that mean Puppy will be something like this eventually?
http://publicip.net/zonecd/what.php

Can we now have Puppy voice control - that would be cool
http://www.perlbox.org/

anyways a Perl tutorial for those so inclined :)
http://www.webdesigns1.com/perl/
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

wilcal
Posts: 14
Joined: Thu 26 Jan 2006, 18:36
Location: San Diego, CA

#5 Post by wilcal »

rarsa wrote:Now what you ask?

Now I'll be able to put some time improving the Network
wizard to simplify the ndiswrapper process ;)
Super!!!

I have a:

Dell Insperon 7500
Model PPI
Intel, Celeron 466Mhz
440BX Chipset
64MB DRAM
6.5GB HD
20VDC, 3.5A PS
Belkin Wireless G PCMCIA F5D7010, BCMWL5-INF XP2K Driver

That I have been fuss'n with over the last months.
Load Pup 1.08, load Perl, ndiswrapper -i install WinBlows
driver and it actually works. It's a bit ponderous
to get it all up BUT IT WORKS :-)

Last night I loaded 2.0 into one of my test systems:

Pentium III (Coppermine), 600Mhz, 256Kb Cache
440BX MoBo
DIMM1 128MB, DIMM2 128MB = 256MB
ATI Rage 128 GL AGP 1x/2x 32MB All-In-Wonder TV Tune/out
SoundBlaster Live (snd-emu10k1 driver)
USB Intel 82371AB PIIX4
D-Link DFE 530 TX+ Fast Ethernet
DVD-ROM (hda) Hitachi DVD-ROM GD-2500
CD-RW (hdb) Sony CRX140E
Floppy 1.44MB
KingWin HD Rack/Tray subsystem (Multiple HD's)
Boot Sequence - Floppy -> DVD-ROM -> HD

and just did the

ndiswrapper -i xxxxx.inf

thingy and it took without having to load Perl in there.
So pretty soon I'm gonna get brave and rebuild the
little Dell with 2.0 and see if ndiswrapper works on it.

1.08 works wonderfully well on the little devil Dell.
I set the hd to a 1GB Linux Swap drive and off it goes.
"DISK BOOT FAILURE - INSERT SYSTEM DISK AND PRESS ENTER"
is my friend

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

Re: Perl tutorial

#6 Post by Lobster »

Lobster wrote: Can we now have Puppy voice control - that would be cool
http://www.perlbox.org/
Did anyone hava a go at installing this?
Any news?
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

rajeshh
Posts: 32
Joined: Sun 01 Jul 2007, 22:14

Cannot find Errno.pm

#7 Post by rajeshh »

I get this error : Cannot find Errno.pm on my 2.16 when trying to run a perl script that uses the Socket class. I didnt install the dev_216.sfs. Do I need to?

Anyone else seeing the same?

jonyo

#8 Post by jonyo »

Is there a perl dotpup?

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#9 Post by MU »

Perl is included in devx_2xx.sfs

If you do not use that, here are dotpups:
http://murga-linux.com/puppy/viewtopic.php?t=4193
Mark

jonyo

#10 Post by jonyo »

Thx. I'm trying to sort out (i think it goes like this..) using ndiswrapper that requires setting up with perl, in pup 98 that's based on 1x variant of pup.

Would mini-perl work for that?

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#11 Post by MU »

I'm not shure about the requirements.

You could start with mini, then try midi, if mini is not sufficient.
If even that fails, the full pack.
Mark

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#12 Post by amigo »

What all is required for a mini or micro installation of perl -can you do anything at all with just the main binary?
About voice control, I just got cvoicecontrol working on my minimal-install of slackware the other day. Looks very promising.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#13 Post by MU »

you could run cgi-programs, as long as they don't depend on additional modules.

I currently work on a chat with someone else, here it is:
http://noforum.de/chat/

It might work with the small ghttpd and the minimalistic perl, but I did not try that yet.
Currently I used xampp for development.
But it should not rely on any modules like CGI.

Mark

jonyo

#14 Post by jonyo »

amigo wrote:What all is required for a mini or micro installation of perl -can you do anything at all with just the main binary?
Installation (afaik) is just a matter of clicking away on the dotpup. Early 1x series pup have no gui network wizard & require the installation of perl, to allow use of ndiswrapper to setup a win .inf file.

Not sure which perl is required to make this work.

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#15 Post by amigo »

In answer ro my own question about microperl, I recently did some work on minimizing the perl installation and have gotten a pretty workable install of around 2.5MB (without upx-ing bins). I did find out that microperl will work with only a few .pm files present, but actually the regular perl binary is smaller and can run with just a few .pm files around. However, most users probably need a few more than the minimum installed. I've been running it under test conditions where I compile lots of software and often use the 'autoreconf -if' command which runs the whole gamut of autoconf-automake scripts and needs a few extra things. I haven't included any CGI or XML stuff though, so far. If anyone is interested in this I'll upload my Slackware package. Or, for the record, you cn start with a minimum package consisting of the files in the debian perl-base package and go from there. The fukll slackware package for perl is around 33MB, so getting it down to around 2MB is quite an improvement. I first wanted and tried to do this about 2 years ago and finaly got back to it last week....

scsijon
Posts: 1596
Joined: Thu 24 May 2007, 03:59
Location: the australian mallee
Contact:

Re: Perl tutorial

#16 Post by scsijon »

Lobster wrote::oops:

Does that mean Puppy will be something like this eventually?
http://publicip.net/zonecd/what.php

Can we now have Puppy voice control - that would be cool
http://www.perlbox.org/

anyways a Perl tutorial for those so inclined :)
http://www.webdesigns1.com/perl/
Unfortunately the perl primer mentioned here has been taken down.

Just as i've decided to learn it! :cry:

Anyone got another link for it, please?

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

Re: Perl tutorial

#17 Post by L18L »


Post Reply