Shawn O'Donnell writes:
> >Does anyone have any suggestions on how to create an array to hold the value
> >of 1000 factorial?
>
> Do you mean 1000!
>
> That's a super-sized number--something like 10-to-the-2566th power,
> if I am using Sterling's approximation correctly.
>
> I don't kn
In a message dated 11/26/03 6:28:54 AM Pacific Standard Time,
[EMAIL PROTECTED] writes:
BTW we'd all /really/ like to know who you are. This isn't a
costume party :)
I'm not sure what you meant by the above statement Rob. I'm guessing it goes
with your signature.
I think I will try GD. Is it
Dan Anderson wrote:
>
> I'm trying to create a script to remove all font tags from an
> HTML documents. I created a regular expression like this:
perldoc -q "How do I remove HTML from a string"
> ,[ working code
> | use strict;
> | use warnings;
> | my $foo =" whe";
> | $foo =
Philipp Traeder wrote:
>
> > It is pretty simple, the perlipc man page has some good examples, but it
> > is basically like this:
> >
> > elsif ( $cmd eq 'long_action' ) {
> > defined( my $pid = fork ) or die "Cannot fork: $!";
> > unless ( $pid ) {
> > # execute th
--As off Thursday, November 27, 2003 7:05 PM -0600, Perl Newbies is
alleged to have said:
--As off Thursday, November 27, 2003 7:42 PM -0500, Dan Anderson is
alleged to have said:
So what am I doing wrong and how do I make a case
insensitive tr/// regexp?
Thanks for your help,
--As for t
--As off Thursday, November 27, 2003 7:42 PM -0500, Dan Anderson is
alleged to have said:
So what am I doing wrong and how do I make a case
insensitive tr/// regexp?
Thanks for your help,
--As for the rest, it is mine.
You can't make a case insensitive tr/// regexp: tr/// doesn't do
re
I'm trying to create a script to remove all font tags from an
HTML documents. I created a regular expression like this:
,[ working code
| use strict;
| use warnings;
| my $foo =" whe";
| $foo =~ tr/\<.*font.*\>//d;
| print $foo, "\n";
`---
Bu
On Thursday, Nov 27, 2003, at 14:10 US/Pacific, Philipp Traeder wrote:
[..]
The danger of primates banging on keyboards is - of course - always
existent and quite high, but in this case I would settle for a first
version that would be usable by more or less normal beings of the
species homo [EMAIL
> Not related to your question but, have you thought of using a dispatch
> table instead?
>
> sub help {
> # process help
> }
>
> sub long_action {
> # process long_action
> }
>
> my %process = (
> help=> \&help,
> long_action => \&long_action,
> simple_cmd =
On Thu, 2003-11-27 at 21:37, drieux wrote:
>
> On Thursday, Nov 27, 2003, at 09:58 US/Pacific, Douglas Lentz wrote:
>
> > Re: (A) What's the best way for the child to inform the parent that
> > it's done?.
> >
> Given that his question (A) is about 'informing'
> the parent that it is finished, h
Philipp Traeder wrote:
>
> Good morning everybody,
Hello,
> I am writing a small console application, allowing the user to perform
> some actions via a shell-like interface. The basics of this were rather
> easy, and with the help of some very nice CPAN modules (i.e.
> Base::Shell), I have got t
On Thursday, Nov 27, 2003, at 09:58 US/Pacific, Douglas Lentz wrote:
Philipp Traeder wrote:
Good morning everybody,
[..]
# ...
elsif ($cmd eq 'long_action') {
if (!fork) {
# execute the action in the child process
sleep 10;
# TODO: noti
Zentara wrote:
>
> On Wed, 26 Nov 2003 15:50:57 -0500, [EMAIL PROTECTED] (Amit Phatak)
> wrote:
> >
> >I have a fortran program calling a perl script for various parsing
> >activities for multiple number of times. I wish to increment a variable by
> >1 in the PERL SCRIPT (not the fortran program)
Marcus Claesson wrote:
>
> Hi!
Hello,
> I have a problem with variables when using command-line perl in a bash
> script. The script should update a date (in 2003-10-10 form) if the
> argument, which is a file name, exists on the same line in the file
> updated_files.txt.
>
> #!/bin/bash
> FILEN
On Thursday, Nov 27, 2003, at 10:04 US/Pacific, Marcus Claesson wrote:
Hi!
I have a problem with variables when using command-line perl in a bash
script. The script should update a date (in 2003-10-10 form) if the
argument, which is a file name, exists on the same line in the file
updated_files.t
On Monday, Dec 4, 1995, at 15:32 US/Pacific, rhlinux wrote:
[..]
quote:
---
---
system(passwd username )
---
---
but this takes the password from th
Philipp Traeder wrote:
Good morning everybody,
I am writing a small console application, allowing the user to perform
some actions via a shell-like interface. The basics of this were rather
easy, and with the help of some very nice CPAN modules (i.e.
Base::Shell), I have got tab-completion, a hel
Hi!
I have a problem with variables when using command-line perl in a bash
script. The script should update a date (in 2003-10-10 form) if the
argument, which is a file name, exists on the same line in the file
updated_files.txt.
#!/bin/bash
FILENAME=$1
UPDATED=`date +%F`
echo
echo "perl -wne 'i
On Thursday, Nov 27, 2003, at 01:26 US/Pacific, Tom Kinzer wrote:
Not sure, I'm not an admin by trade, but I was actually referring
to the fact that some admins assume that user Perl processes that
don't die, are doing so unintentionally.
Ah! an interesting take.
Having been one of those folks who
rhlinux wrote:
elslam 3alikom,
i wanna run an interactive system command through my program
for example i wanna add a user with its password that is given in the program not by the user, do any one here have any idea how can i do so in perl
i tried
quote:
-
David --- Senior Programmer Analyst --- Wgo Wagner wrote:
>
>
> Note: I went into File::Glob and it gives the following:
>
> Since v5.6.0, Perl's CORE::glob() is implemented in terms of
> bsd_glob(). [...] Due to historical reasons, CORE::glob() will also
> split its argument on whitespace, treatin
elslam 3alikom,
i wanna run an interactive system command through my program
for example i wanna add a user with its password that is given in the program not by
the user, do any one here have any idea how can i do so in perl
i tried
quote:
--
Nice to read !
http://perl.apache.org/docs/tutorials/tmpl/comparison/comparison.html
José.
DISCLAIMER
"This e-mail and any attachment thereto may contain information which is confidential
and/or protected by intellectual property rights and are intended for the sole use of
the rec
Not sure, I'm not an admin by trade, but I was actually referring to the
fact that some admins assume that user Perl processes that don't die, are
doing so unintentionally.
I'm sure there may also be security issues with the user/socket coding as
well.
-
-Tom Kinzer
Long Beac
Good morning everybody,
I am writing a small console application, allowing the user to perform
some actions via a shell-like interface. The basics of this were rather
easy, and with the help of some very nice CPAN modules (i.e.
Base::Shell), I have got tab-completion, a help system and much more
a
25 matches
Mail list logo