Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 23 Oct 2014, 00:55
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
Speaking of Perl
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [17 Posts]   Goto page: 1, 2 Next
Author Message
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Sat 03 Jun 2006, 23:24    Post subject:  Speaking of Perl  

We now have Perl

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

not even sure what that does Embarassed

eh . . . now what?

_________________
Puppy WIKI

Last edited by Lobster on Wed 08 Aug 2007, 01:49; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
rarsa


Joined: 29 May 2005
Posts: 3053
Location: Kitchener, Ontario, Canada

PostPosted: Sat 03 Jun 2006, 23:44    Post subject:  

Now what you ask?

Now I'll be able to put some time improving the Network wizard to simplify the ndiswrapper process Wink

_________________
http://rarsa.blogspot.com Covering my eclectic thoughts
http://www.kwlug.org/blog/48 Covering my Linux How-to
Back to top
View user's profile Send private message Visit poster's website 
John Doe

Joined: 01 Aug 2005
Posts: 1689
Location: Michigan, US

PostPosted: Sat 03 Jun 2006, 23:45    Post subject:  

Code:
#!/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 Smile
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Sun 04 Jun 2006, 04:08    Post subject: Perl tutorial  

Embarassed

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 Smile
http://www.webdesigns1.com/perl/

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
wilcal

Joined: 26 Jan 2006
Posts: 14
Location: San Diego, CA

PostPosted: Wed 07 Jun 2006, 14:49    Post subject:  

rarsa wrote:
Now what you ask?

Now I'll be able to put some time improving the Network
wizard to simplify the ndiswrapper process Wink


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 Smile

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
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Mon 06 Aug 2007, 12:39    Post subject: Re: Perl tutorial  

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 WIKI
Back to top
View user's profile Send private message Visit poster's website 
rajeshh

Joined: 01 Jul 2007
Posts: 32

PostPosted: Thu 16 Aug 2007, 12:37    Post subject: Cannot find Errno.pm  

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?
Back to top
View user's profile Send private message 
jonyo

Joined: 28 Dec 2006
Posts: 2727

PostPosted: Sat 25 Aug 2007, 22:04    Post subject:  

Is there a perl dotpup?
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Sun 26 Aug 2007, 07:27    Post subject:  

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
Back to top
View user's profile Send private message Visit poster's website 
jonyo

Joined: 28 Dec 2006
Posts: 2727

PostPosted: Sun 26 Aug 2007, 10:33    Post subject:  

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?
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Sun 26 Aug 2007, 11:36    Post subject:  

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
Back to top
View user's profile Send private message Visit poster's website 
amigo

Joined: 02 Apr 2007
Posts: 2258

PostPosted: Tue 18 Sep 2007, 16:12    Post subject:  

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.
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Tue 18 Sep 2007, 20:02    Post subject:  

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
Back to top
View user's profile Send private message Visit poster's website 
jonyo

Joined: 28 Dec 2006
Posts: 2727

PostPosted: Tue 18 Sep 2007, 21:57    Post subject:  

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.
Back to top
View user's profile Send private message 
amigo

Joined: 02 Apr 2007
Posts: 2258

PostPosted: Thu 25 Oct 2007, 10:31    Post subject:  

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....
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [17 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0817s ][ Queries: 12 (0.0116s) ][ GZIP on ]