on Fri, 21 Jun 2002 06:30:49 GMT, [EMAIL PROTECTED] (Langa
Kentane) wrote:
> I wish to use the fork() function on one of my scripts. I would
> like more clarity on the way it works.
>
> Take for instance the ff code:
>
> Sub mysub
> {
> while ()
> If ($_ eq "SCANME")
> {
>
On Wednesday 19 June 2002 21:46, Akens, Anthony wrote:
> Thanks for the explanation - breaking it down like that really
> helps!
>
> If no one's guessed yet, I'm using the regex to parse a passwd
> file for blank passwords.
[...]
Speaking of breaking these (regexes) down, I just started working t
roberts perl tutorial
search on google
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Drieux wrote:
>
> On Thursday, June 20, 2002, at 02:02 , Nate Brunson wrote:
>
>> is there a way I can get Net::SMTP to return errors that it might
>> encounter into a variable, or something?
>> so that on the page that pops up after the mail is sent, it can
>> display errors if there were a
"Shishir K. Singh" wrote:
>
> Hi,
Hello,
> I need to format a string in a fixed width field. The string
> may be less than the length of the format, or may be greater.
> If less, then it should get padded with spaces (left or right
> justified , like using - in sprintf), if greater, then the
>
Hi all,
Firstly, thanks for all your help so far, really great.
I have installed Perl on my Windows 2000 Server and can run perl scripts
from the command line (which is really cool ;-) !!).
The trouble I am having now is that I want to run Perl scripts as part of a
web site and I cant figure ou
Hi All
Please tell me how to proceeed. I have been successfull with writing
the script for going through the directory and executing a command.
But I have tried in vain to modify this code to be able to
recursively run the command through the whole sub-directories, whichever is
there.
The follo
Hi David - thanks AGAIN for your help. Wow - I will have to start paying you
tution fee's soon !! ha ha
Can I ask:
>First, post to the cgi-beginners list for CGI questions
How do I get myself on this mailing list ??
>Most likely, you need to do some configuration
>of the server
OH yes -
Hi folks,
I have some problems with the Chart::Plot modul:
I started to use the module
(http://www.speakeasy.org/~cgires/modules/plot/plot.html)
to make some plots. Without any modification I get nice plots,
but when I use setGraphOptions() and getGDobject() the trouble begins:
When I add an
I used this to recursively process a directory tree and upload the files
via ftp, you should be able to get what you need from it,
sub uploadfiles {
my($localpath, $remotepath) = @_;
(opendir(DIR, $localpath) && print "Processing the " .
$localpath . " directory\n") || (print "Fai
Anadi,
http://lists.perl.org/
will take you to the right place.
beginners-cgi is what you are after. Check out dbi-users also. DBI will open
access to many other databases (I use Oracle and 2 free ones MySql and
Postgresql)
-David
"A Taylor" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">
--- Konrad Foerstner <[EMAIL PROTECTED]> wrote:
> Hi folks,
>
> I have some problems with the Chart::Plot modul:
>
> I started to use the module
> (http://www.speakeasy.org/~cgires/modules/plot/plot.html)
> to make some plots. Without any modification I get nice plots,
> but when I use setGra
on Fri, 21 Jun 2002 12:16:15 GMT, [EMAIL PROTECTED]
(Jayashankar Nelamane Srinivasarao) wrote:
> But I have tried in vain to modify this code to be able to
> recursively run the command through the whole sub-directories,
> whichever is there.
use File::Find;
--
felix
--
To unsubscribe,
>
> Hi,
Hello,
> I need to format a string in a fixed width field. The string
> may be less than the length of the format, or may be greater.
> If less, then it should get padded with spaces (left or right
> justified , like using - in sprintf), if greater, then the
> string should get truncat
On Thu, 20 Jun 2002 17:43:29 -0700, [EMAIL PROTECTED] (John W. Krahn)
wrote:
>>Zentara wrote:
>>I'm starting work on my own virus scanner.
>> I'm especially looking for ways to convert to hex more
>> efficiently,
>my $hexstring = '58354f2150254041505b345c505a';
>my $hexlen = length( $hexstring )
Something occured to me the other day and I'm interested to know what
people's opinions are on this list. When I'm reading the camel or other
Perl books such as Perl and XML, the majority of the humour is related
to The Hobbit, Lord of the Rings and The Hitch Hiker's Guide to the
Galaxy. These are
Ok, I got sorta a hard question that involves calling randomly changing
subrutines. What I'm Trying to do is this. 5 libaries are required into my CGI(PERL)
program Each of them has their own set of subrutines. Now when someone accesses my
site they also send a page referance eg "main.cgi?pag
Does anybody know where I can find free hosting wich supports CGI?
JP, from Brazil.
The next World Champion :)
_
Send and rec
On Jun 21, Nigel Peck said:
>Something occured to me the other day and I'm interested to know what
>people's opinions are on this list. When I'm reading the camel or other
>Perl books such as Perl and XML, the majority of the humour is related
>to The Hobbit, Lord of the Rings and The Hitch Hiker
On Friday, June 21, 2002, at 08:38 , Nigel Peck wrote:
[..]
> Or is it d, something I shouldn't be wasting my time thinking about so
> move on (boring git).
There are two official answers here:
a) This is a Matter of Religion,
if you do not use the Module Religion
On Jun 21, [EMAIL PROTECTED] said:
>home|&htmlBody,&Header,&homebody,&footer
>
>So it should get the list of subrutined to call but I can not figure out
>how to call them since they are strings and not hard coded into the
>code. Basicly I can get the values and print them out but not call
>them.
On Friday, June 21, 2002, at 09:15 AM, drieux wrote:
>
> On Friday, June 21, 2002, at 08:38 , Nigel Peck wrote:
> [..]
>> Or is it d, something I shouldn't be wasting my time thinking about so
>> move on (boring git).
>
> IT IS A SCARY PLACE OUT THERE!!!
>
> ciao
> drieux
>
or 'out there' is
On Fri, 21 Jun 2002, bob ackerman wrote:
>On Friday, June 21, 2002, at 09:15 AM, drieux wrote:
>
>>
>> On Friday, June 21, 2002, at 08:38 , Nigel Peck wrote:
>> [..]
>>> Or is it d, something I shouldn't be wasting my time thinking about so
>>> move on (boring git).
>>
>
>
>> IT IS A SCARY PLACE
On Fri, 21 Jun 2002, Jeff 'japhy' Pinyan wrote:
>On Jun 21, Nigel Peck said:
>
>>Something occured to me the other day and I'm interested to know what
>>people's opinions are on this list. When I'm reading the camel or other
>>Perl books such as Perl and XML, the majority of the humour is related
On Friday, June 21, 2002, at 09:07 , Jeff 'japhy' Pinyan wrote:
[..]
First off my complements for the citations from the holy text.
Few general purpose perlers go in and read the header files.
> Perhaps this is because programmers are of the sci-fi/fantasy book-reading
> ilk, and LotR is perhaps
--- [EMAIL PROTECTED] wrote:
> Ok, I got sorta a hard question that involves
> calling randomly changing subroutines.
Hmm... instantanously the security alarm bell sounds.
> What I'm trying to do is this. 5 libaries are required
> into my CGI(PERL) program. Each of them has their own
> set of
--- Jeff 'japhy' Pinyan <[EMAIL PROTECTED]> wrote:
>
> Perhaps this is because programmers are of the sci-fi/fantasy book-reading
> ilk, and LotR is perhaps the pinnacle of fantasy. I've read it three
> times, and it's probably my favorite book, although sci-fi books like
> "Stranger in a Stran
Jayashankar Nelamane Srinivasarao wrote:
>
> Hi All
Hello,
> Please tell me how to proceeed. I have been successfull with writing
> the script for going through the directory and executing a command.
>
> But I have tried in vain to modify this code to be able to
> recursively run the command t
"Shishir K. Singh" wrote:
>
> Thanks to Mark, John, David and Timothy!! I get the results if I use the
>combination of
>
> eg $myVar = 'ABCDEFGHIJKLMNOP';
> $newVar = pack('A10',$myVar);
> $newVar should have 'ABCDEFGHIJ'; # Works and faster than sprintf
>
> eg $myVar = 'ABCD';
> $newVar =
Zentara wrote:
>
> On Thu, 20 Jun 2002 17:43:29 -0700, [EMAIL PROTECTED] (John W. Krahn)
> wrote:
> >>Zentara wrote:
> >>I'm starting work on my own virus scanner.
> >> I'm especially looking for ways to convert to hex more
> >> efficiently,
>
> >my $hexstring = '58354f2150254041505b345c505a';
>
"John W. Krahn" wrote:
>
> You should probably use File::Find
>
> use warnings;
> use strict;
> use File::Find;
>
> my $rootdir = 'C:/Temp/Test';
> my @dirs;
>
> find( sub { -d and # is it a directory?
> !/^\.\.?$/ and # don't want . and .. directories
>
Sometimes I'd like to run a perl program in a similar way as one can
run a shell script with the -x switch. Where all commands and
actions are printed to tty as the occur.
How does one simulate that with perl? I suspect it may be the -d flag
(debug) but I have no experience at all with that. It
On Fri, 21 Jun 2002, Nigel Peck wrote:
> Perl books such as Perl and XML, the majority of the humour is related
> to The Hobbit, Lord of the Rings and The Hitch Hiker's Guide to the
> Galaxy. These are my favorite books. Is it
> a) a coincidence
> b) that they're so popular with people from all
33 matches
Mail list logo