Re: Modules question

2001-06-29 Thread Nigel G Romeril
On Win32, typing ppm verify at the command prompt will list all the modules installed on your system quit will exit the ppm tool [EMAIL PROTECTED] wrote: > Help with Modules please. > > Is there a option I can run with perl to find out if a particular module is >installed? > > Thanks, > > Anna

Re: trailing newline

2001-06-29 Thread Nigel G Romeril
This bit of code generates a file with all three types of new line in it open(TESTFILE, "> test.txt") or die "Sorry, cannot open the test file"; binmode(TESTFILE); print TESTFILE "This is a DOS line ending\x0d\x0a"; print TESTFILE "This is a Mac line ending\x0d"; print TESTFILE "This is

Re: simple

2001-07-30 Thread Nigel G Romeril
A table can be a better solution Rahul Garg wrote: > Hello, > > In my perl script , i am writing HTML code..within it i am using   for >spaces , as i need a lot spaces is there any other solution. > > Thanx in advance, > Rahul Garg. -- To unsubscribe, e-mail: [EMAIL PROTECT

FTP

2001-05-02 Thread Nigel G Romeril
Hi, Try using libnet, this is a library that allows you to use ftp, telnet etc from Perl. Avzilable from CPAN or using PPM. Regards, Nigel R Gary Stainburn wrote: > Hi Daniel, > > assuming you're not worried about the ftp failing, you could do > something line: > > open(FTP,"|ftp -ivn")|| die

Re: transfer files via FTP ????

2001-05-03 Thread Nigel G Romeril
Download libnet from the CPAN archive, install and use the ftp module available as part of it Randall Paulk wrote: > I am new to Perl ( and programming in general). I have a seemingly simple task for >which I would like to write a script. Here is the scenario. > > I have four LINUX boxes tha

Re: Matt Wrights Guestbook

2001-05-23 Thread Nigel G Romeril
Try something like; #!/usr/bin/perl -w print "Content-type: text/html\n\n"; print "Hello world, it works!\n"; This should print a line of black text on a white background if your path, permissions etc are OK [EMAIL PROTECTED] wrote: > Hi Sally (Kevin?), > > sounds like somthing in your webser

Re: Matt Wrights Guestbook

2001-05-23 Thread Nigel G Romeril
Guest Book script until it works to their satisfaction. Regards Nigel R "Randal L. Schwartz" wrote: > >>>>> "Nigel" == Nigel G Romeril <[EMAIL PROTECTED]> writes: > > Nigel> Try something like; > Nigel> #!/usr/bin/perl -w > Nigel> pr

Re: Matt Wrights Guestbook

2001-05-24 Thread Nigel G Romeril
ot understand html how are they > >going to customise and edit a Guest Book script until it works to their > >satisfaction. > > > > > >Regards > > > >Nigel R > > > >"Randal L. Schwartz" wrote: > > > >> >>>>> "Ni

Re: Is there an alternative to #!/usr/bin/perl

2001-05-24 Thread Nigel G Romeril
I think that you will have to program the humans, eg send a Readme out with the scripts and let them do a little editing to get the script to run. If you do not know where Perl is or it is not on the path then you cannot run it so you cannot do any searching. We could call it Hobson's choice ;-)

Re: Licensing

2001-06-02 Thread Nigel G Romeril
I do not have any direct experience of this, but I read in magazine that these Perl to exe interpreters embed the perl into the exe as plain text. The original code can be recovered by opening the exe in an editor and copying and pasting it into a script file that can then be run normally. -

Re: Re: Licensing

2001-06-02 Thread Nigel G Romeril
Licensing and restriction are tied together, If I write a Perl program and license it to a client and he cannot easily copy or pass it on to a third party then I can continue to profit from my work. If the source is available he can pass it on to any third party who does not have to pay a licence

Re: Perl & the web

2001-06-06 Thread Nigel G Romeril
I believe that the www.easyJet.com online booking system is written in Perl. Sally wrote: > Can anyone tell me of some uses of perl on the web. I know that guestbooks > and forms can be done in perl but I'd like to know of more, > > Regards, > > Sally