--As of April 22, 2014 9:23:28 AM -0400, David Golden is alleged to have
said:
On Tue, Apr 22, 2014 at 8:03 AM, David Cantrell da...@cantrell.org.uk
wrote:
toolchain, including CPAN clients. Testing whether something can pass
tests on a bog-standard ancient Perl is not really useful data for
--As of April 22, 2014 9:46:26 AM -0700, Karen Etheridge is alleged to have
said:
On Mon, Apr 21, 2014 at 11:25:48PM -0400, Daniel Staal wrote:
If you truly need a minimum version of CPAN, declare it. You can set
a version of CPAN in the prereqs like you can set any other module
--As of Thursday, September 9, 2004 9:24 AM -0500, Errin Larsen is alleged
to have said:
Excellent! Thank you. I knew it was something easy, just hadn't
kick-started my brain yet this morning. But I've got another one.
What if the user input, say, '007' on the command line? How can I
strip
--As of Wednesday, September 1, 2004 8:45 PM -0500, Jerry Preston is
alleged to have said:
This works!!
print history $history[ 0 ]{ version }\n;
--As for the rest, it is mine.
Great! Do you know *why*?
(Note: You are not only accessing an array...)
Daniel T. Staal
--As of Tuesday, August 31, 2004 10:07 AM +0100, Gavin Henry is alleged to
have said:
P.S. I am now a programmer or a scripter, I am not sure is perl is
programming or scripting? I think programming.
--As for the rest, it is mine.
Short answer: Yes. (It is at least one of the two.) ;)
Long
--As of Saturday, August 14, 2004 6:56 PM +0800, Franklin is alleged to
have said:
I would run a perl script in my website which is hosted in one hosting
service provider. Is there any means that I can use to encrypt my script
so that it can't be viewed by others illegally?
--As for the rest, it
--As of Tuesday, August 10, 2004 12:54 PM -0700, Joe Echavarria is alleged
to have said:
can i write applications with perl for mobile
devices ,
--As for the rest, it is mine.
Define 'mobile devices'...
Daniel T. Staal
---
This email
--As of Tuesday, June 29, 2004 3:46 PM -0700, Brian Gerard is alleged to
have said:
1) Does this sound like a reasonable approach to the problem, given the
relatively low amount of detail I've provided? Anyone dealt with this
type of thing before and have any gotchas for me?
I can't say
--As of Friday, June 11, 2004 1:10 PM -0700, Tham, Philip is alleged to
have said:
I am trying to execute a perl script from html. However this is to be
executed by a certain user and the script also updates files in the
system. Is there a was I can do a chuser and set the s-bit.
--As for the
--As of Tuesday, June 1, 2004 7:55 PM +0530, Sidharth is alleged to have
said:
hi all ,
i am new to this group and perl world . i hav a problem in a script
where in i hav to go to the each subdirectory within a directory and
creat a temporary file and open it for edit. how can i accomplish
--As of Monday, May 24, 2004 8:43 AM +0600, LRMK is alleged to have said:
By the way is PostgreSQL free and if yes where can I get a copy to
practise myself.
--As for the rest, it is mine.
Yes: http://www.postgresql.org/
Daniel T. Staal
--As of Monday, April 26, 2004 5:30 PM -0700, Christopher Lyon is alleged
to have said:
So, how to I get the values to look like in variable so that I can push
them back into a new table:
New Table
namecount
-+---
Widgets-A| 25
Widgets-B| 10
Widgets-C| 20
--As of Saturday, April 17, 2004 7:54 AM +0200, deny is alleged to have
said:
dont know
i use sendmail-8.12.9-7mdk
snip /
its my server
lrwxrwxrwx1 root root 21 avr 13 14:37 sendmail -
/etc/alternatives/mta*
The point he was making is that if you call sendmail directly you have
--As of Wednesday, April 14, 2004 11:16 AM +0100, Richard Barrett-Small is
alleged to have said:
Could you give me a stab of code demonstrating appending or printing to a
scalar and also how I might avoid printing OUT but retain the changes I
made to the filehandle so they can be passed to
--As of Tuesday, April 13, 2004 2:16 PM +0200, Jenda Krynicky is alleged to
have said:
I am running some substitutions on a file which has a distinctive
record structure. Each record is printed to the output filehandle in
turn after the substitutions have been performed. Once all records are
--As of Thursday, April 1, 2004 11:48 AM +0159, Morten Liebach is alleged
to have said:
Strangely, I find that we almost always want our scripts to act this way.
If any files or data is passed to the script, then it uses it.
Otherwise, it prints usage instructions (since we'd rather not have man
--As of Thursday, April 1, 2004 5:01 PM -0500, [EMAIL PROTECTED] is
alleged to have said:
what is a soft reference?
what is a bareword?
why is strict disallowing a compile here When I comment out strict
the syntax checks outs as ok!???
how do I display each element # with its corresponding
--As of Thursday, April 1, 2004 9:58 AM -0500, [EMAIL PROTECTED] is
alleged to have said:
Is there a simple way to reject any string that has extended characters
in it? In other words, only accept the 88 (I think it's 88) regular
keyboard characters and numbers. I can't find a simple way to do
--As of Tuesday, March 30, 2004 10:59 AM -0500, Steve Gross is alleged to
have said:
1) Any good Perl/other tool to create screens/web pages?
2) any recommended database interfaces? I've use ODBC and would like
to make it general enough to handle a wide variety of conventional
databases
--As of Saturday, March 27, 2004 10:17 AM -0500, WC -Sx- Jones is alleged
to have said:
Also, all of these $:: are brought into GLOBAL
usage (which some programmers frown upon much
like GOTO syntax is frowned upon.)
--As for the rest, it is mine.
They why aren't you just leaving off warnings
--As of Friday, February 20, 2004 11:25 AM +, Rob Dixon is alleged to
have said:
I haven't looked at your code, but I don't think a rewrite is in the
spirit of helping beginners at Perl. It may occasionally be the best
answer, but I suspect you're simply enjoying yourself here ;)
--As for
--As of Friday, February 20, 2004 8:35 AM -0800, R. Joseph Newton is
alleged to have said:
I don't know about this Daniel. Even for all its goto's, I found the
original more reaable.
I actually found his code quite readable, and felt I lost some of that. I
felt it a tradeoff worth making at
--As of Thursday, February 19, 2004 2:22 PM -0500, Joel is alleged to have
said:
Yes, BASIC is the only programming I have ever done. All I can really
remember was PRINT, GOTO, and a variety of line numbers. I'm trying to
write a text adventure (Don't look at me like that, Perl is a general
--As of Thursday, February 19, 2004 10:14 PM +0100, Anthony Vanelverdinghe
is alleged to have said:
Could anyone please tell me what's wrong with the following program?
The compiler gives errors in the switch statement.
--As for the rest, it is mine.
You mean, besides the fact that Perl doesn't
--As of Thursday, February 19, 2004 10:29 PM +0100, Anthony Vanelverdinghe
is alleged to have said:
Didn't know it wasn't in Perl, but I've just discovered it's possible
with some file called Switch.pm
--As for the rest, it is mine.
You mean the 'Switch' module. (Sorry, I should have mentioned
--As of Thursday, February 19, 2004 6:31 PM -0500, Joel is alleged to have
said:
Here it is. Okay so it isn't tommorow. I shortened it a bit, but its the
same really.
--As for the rest, it is mine.
Here's a first approximation of a rewrite. ;-) (Major problem: it always
asks what you want to
--As of Tuesday, February 17, 2004 4:17 PM +0200, John is alleged to have
said:
Is it neseccary to authenticate the smtp host?
It depends on the host. ;-)
testing the first sample script i saw no results.
Where is the problem?
We'll need more information than that... I assume you were trying
--As of Tuesday, February 17, 2004 4:58 PM +0200, John is alleged to have
said:
Here is my code
Thanks. ;-)
#!/usr/bin/perl -w
use strict;
use Mail::Sender;
$sender = new Mail::Sender({smtp = 'mymailserver', from =
'[EMAIL PROTECTED]'});
$sender-MailFile({to = '[EMAIL PROTECTED]',
--As of Tuesday, February 17, 2004 5:53 PM +0200, John is alleged to have
said:
Unfortunately, MIME::Lite requires Sendmail on the host.
--As for the rest, it is mine.
Actually, no. It just uses it by default... You can say:
$msg-send('smtp'); #Uses the default smtp server.
or:
--As of Tuesday, February 17, 2004 7:42 PM +0200, John is alleged to have
said:
Relaying denied.
What is that?
The sever doesn't allow you to connect to send mail through it. (You can
send mail *to* it, or *from* it, probably, but not *through* it.)
Could i connect to any smtp server i want.
--As of Tuesday, February 17, 2004 5:28 PM -0500, Joel is alleged to have
said:
I fixed the source code with the suggestions given, but still no luck. Any
other ideas?
Joel
---
# !usr/bin/perl
$abc=1000
Still need a semicolon... (and a 'my', for
--As of Friday, February 13, 2004 5:07 PM -0800, John Lin is alleged to
have said:
for ($i=0; $i = $#filenames; $i++) {
[EMAIL PROTECTED];
if ($wanted_filename == $filename) {
$append_filename=$filename . ';';
open(APPENDFILE,
--As off Wednesday, February 11, 2004 1:25 PM -0600, Michael C. Davis
is alleged to have said:
At 07:22 PM 2/11/04 -, Rob Dixon wrote:
Please guys, not in an existing thread.
Not sure I undestand, looks like a new thread ... ?
--As for the rest, it is mine.
Erm, no. Not to those of us with
--As off Saturday, February 7, 2004 12:37 PM -0500, Wiggins d'Anconia
is alleged to have said:
What is to stop a spammer or script kiddie finding out about your
ruse, possibly even listening in on the conversation, and rather
than trying to hack your system starts sending out mass emails to
--As off Tuesday, February 3, 2004 10:09 AM -0700, Sam Masiello is
alleged to have said:
I have a script where I am sending some data over a socket, but
after X seconds I want the operation to time out. I am currently
using alarm to enforce the timeout, but I don't want the script to
die. I
--As off Friday, January 30, 2004 7:57 AM -0500,
[EMAIL PROTECTED] is alleged to have said:
Basically, I wanted to know how to put a receipient's name into a
canned letter. Like this.
$name = Joe Blow
The canned letter template:
--As for the rest, it is mine.
Has anyone pointed out
--As off Monday, January 26, 2004 9:05 PM +0800, Bee is alleged to
have said:
1. Can Perl run on Windows CE or Palm ( Same as subject )
2. If I can, Is there any modules would helpful on develope my
script for these platforms ?
3. Can I use Perl to write the Hot Sync process instead of build in
--As off Sunday, January 25, 2004 5:30 PM -0800, Paul Harwood is
alleged to have said:
I am trying to learn the best way to send HTML formatted reports via
e-mail using the standard modules that come with Perl 5.8. The
examples I have seen assign blocks of HTML code to scalars and
pass them to
--As off Saturday, January 24, 2004 12:07 AM +0100, wolf blaum is
alleged to have said:
I didnt find a way to do the dishes yet, anything else I ever tried
works in perl.
--As for the rest, it is mine.
I'm sure you could do something with LEGO::RCX and a Mindstorms kit...
;-)
Daniel T. Staal
--As off Monday, January 19, 2004 5:50 PM +0100, Jan Eden is alleged
to have said:
I imagine you could fix it by upgrading/reinstalling Perl, if
you're interested.
Can I reinstall Perl (just Perl) from the OS X CDs?
--As for the rest, it is mine.
Yes, if you get the program Pacifist. It can
--As off Wednesday, January 14, 2004 11:24 PM -0500, Daniel Staal is
alleged to have said:
my @a = unpack(C*, $a);
my @b = unpack(C*, $b);
This can also be done with a:
my @a = split //, $a; # (That is a null pattern.)
I'm not sure if split or unpack is faster, I'll have to benchmark
--As off Wednesday, January 14, 2004 10:34 AM -0500, Paul Kraus is
alleged to have said:
I understand that the eq and gt are for string comparisons but why
not just use the mathematical ones of == or . This goes for
functions open ... or compared to open .. ||
--As for the rest, it is mine.
--As off Wednesday, January 14, 2004 8:29 AM -0800, drieux is alleged
to have said:
Or if we are using our bbedit it is some
find and replace with grep using the selected
region only or in
--As for the rest, it is mine.
Actually, in BBEdit it is Tools-Un/Comment. No shortcut key by
--As off Wednesday, January 14, 2004 6:23 PM -0500, danl001 is
alleged to have said:
I'm thinking the way the file is sorted is something simple, yet
something I don't recgonize! As a result, you'll see that my method
is probably very over-complicated.
I have also posted some more data that is
--As off Wednesday, January 14, 2004 6:22 PM -0700, Jose Malacara is
alleged to have said:
Can someone explain to me how to do multiline matching? I am trying
to extract three consecutive lines from a datafile containing
multiple records like this:
Name: Jose
City: Denver
State: Colorado
--As off Wednesday, January 14, 2004 10:48 PM -0500, Dan is alleged
to have said:
Oh no! Its slower! I wrote a function implementing what is
described above and its actually slower (about 1/2 as slow) than
that huge thing I posted earlier. Does anything stand out here as
being inefficient? Here
--As off Saturday, January 10, 2004 3:40 PM +0100, Olivier Wirz is
alleged to have said:
Hello,
What is the best way to convert a numeric cobol format S9(09)V9(04)
in a more readable way.
For example:
0100} will be -1000.
0100{ will be 1000.
It works with substr and
--As off Saturday, January 10, 2004 11:53 AM -0800, R. Joseph Newton
is alleged to have said:
Olivier Wirz wrote:
Hello,
What is the best way to convert a numeric cobol format
S9(09)V9(04) in a more readable way.
How would we know? This is a Perl list. To some people here, the
string above
--As off Friday, January 9, 2004 1:08 AM -0600, Robert Citek is
alleged to have said:
On Thursday, January 8, 2004, at 08:22 AM, Daniel Staal wrote:
1. Upgrade to Panther. ;-) It includes Perl 5.8, and plenty more.
In the queue to do. Also, want to dual boot with Linux, but that's
--As off Thursday, January 8, 2004 1:18 AM -0600, Robert Citek is
alleged to have said:
Hello all,
I have perl 5.6.0 on my Mac OS X. I'd like to install libnet.
However, when I try to use cpan, it wants to automagically upgrade
my perl to 5.8.2. All I really want is Net::FTP. What is my best
--As off Monday, January 5, 2004 7:20 PM -0300, Ricardo Pichler is
alleged to have said:
Hi, I'm beginner in the perl world, I having see very files .pl to
learn and I have one question... In this script, what do make the
parts in bold?
Umm, Bold? You sent text/plain. There is no bold.
#
--As off Tuesday, December 30, 2003 11:58 AM -0600, Dan Muey is
alleged to have said:
So now it said Connection not established for
the local sending to remote, which I would think would
be the easiest one, especially since:
Local to local is ok.
Remote to local is ok.
I'm not doing any remote
--As off Tuesday, December 30, 2003 12:33 PM -0600, Dan Muey is
alleged to have said:
They are doing the Right Thing and not being an open relay.
Basically the server says *one* of the persons involved has to be
In both cases one is always a local user. But only in one case is
authentication
--As off Monday, December 29, 2003 12:54 PM -0600, Dan Muey is
alleged to have said:
I want to be able to return a true or false value from a
function in a module and populate the $! variable with the
specific errors. Is this possible? Is there documentation on
how to do this? I can find docs on
--As off Friday, December 26, 2003 3:16 PM -0600, John McKown is
alleged to have said:
Actually, I considered an ini or cfg file, but rejected it. I
was wanting something more standalone in this case. First, it
seemed a bit much for only 4 parms. Second, I didn't want to
maintain a separate
--As off Monday, December 22, 2003 9:15 AM +0530,
[EMAIL PROTECTED] is alleged to have said:
I have one more requirement, The last STATUS which occurs just
prior to the file end should not be followed by a page break
character. How can I code this in perl?
--As for the rest, it is mine.
Just to
--As off Sunday, December 21, 2003 11:59 AM -0600, Robert Brown is
alleged to have said:
Is there any alternative to gifs to make animated images? Flash is
proprietary to macromedia, and gif to Unisys. Is there such a thing
as an animated png? How about a free (in the GPL sense) open
sourced
--As off Saturday, December 20, 2003 2:23 PM -0600, Andrew Gaffney is
alleged to have said:
I want to write a Perl program that will auto generate GIF images.
The images that I want to generate will be about 30x80. It will be
a black rectangle starting in the bottom-right with a few pixels
--As off Saturday, December 20, 2003 1:57 PM +1100, Colin Johnstone
is alleged to have said:
Gidday all,
I want to pass a boolean value as a parameter to a subroutine what
should I use shift or @_
and whats the difference please.
e.g
mySubRoutine(0);
sub mySubRoutine{
my
--As off Friday, December 12, 2003 7:25 AM -0800, Jeff Westman is
alleged to have said:
So, why is it that most of the solutions represented in this group
tend to point to a CPAN module when the code for it isn't that
hard (usually) to write? I'm not sure if using modules is a matter
of
--As off Thursday, December 11, 2003 12:53 PM -0600, Dan Muey is
alleged to have said:
I'd like to use DBI's quote function without having to
connect to a database and without having to create my own!
Is that possible?
--As for the rest, it is mine.
I would suspect it is not possible. You have
--As off Friday, November 28, 2003 1:08 PM -0800, R. Joseph Newton is
alleged to have said:
s[\/?font.*?\][]gsi
Cool! Thanks, Daniel, that is very nice work. I could feel myself
going back over those first steps in using regexes as I followed
your post.
--As for the rest, it is mine.
Heh,
--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
--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
--As off Wednesday, November 26, 2003 9:37 PM +0100, Jerry Rocteur is
alleged to have said:
I see this a lot of this on this list, Reply to the list, Reply to
the list, Reply to the list.
If it was the intention of the list manager for people to reply to
the list then a reply would go to the
--As off Wednesday, November 26, 2003 3:58 PM -0500, Boris Shor is
alleged to have said:
Why does the following work (eg, give me an array filled with
matching file names):
@filelist = glob(w:/stleg/Colorado/House_98/*.htm);
And when I rename the directory to House 98 (space instead of
--As off Monday, November 24, 2003 12:54 AM -0600, Jason Dusek is
alleged to have said:
Is there some way to get people on this list to stop sending me two
emails at once? I am on the beginner's list - so when you send
email to me and then cc to the list, I get two. Which is annoying.
I
--As off Saturday, November 22, 2003 4:27 PM -0600, Mike Blezien is
alleged to have said:
Hello,
I need the ability to round off dollar amounts to the nearest 100th
of a dollar amount, IE $14.9564 to $14.96 or $132.1123 to $113.11
what is the best way to accomplish this ??
--As for the rest, it
--As off Thursday, November 20, 2003 12:20 PM -0700, Eric Walker is
alleged to have said:
ok why the $$ instead of the %$?
sorry confused.
On Thu, 2003-11-20 at 12:08, Paul Kraus wrote:
$$overdate{key}
Perldoc perlref
--As for the rest, it is mine.
$$ would get you the value of a
--As off Wednesday, November 19, 2003 7:42 PM +0530, Ramprasad A
Padmanabhan is alleged to have said:
I would like to write a program that deletes all mails from my
popserver which are older than 'n' days
Is there a script available already. If I were to write a script
using Mail::POP3Client ,
--On Sunday, November 16, 2003 8:45 PM +0100 Guardian Angel
[EMAIL PROTECTED] wrote:
use strict; # Always
use warnings; # Usually (same as -w qualifier but portable)
i will do that, use warnings; gave me more (human readable)
errors, so better to understand for me.
Well, if it's human
--As off Sunday, November 16, 2003 5:17 PM -0800, [EMAIL PROTECTED]
is alleged to have said:
Can someone point the way to some file upload script for webserver
on unix/linux?
--As for the rest, it is mine.
Single file, batch, automated, manual, FTP, RCP, email, SCP, CVS,
SFTP, remote, local,
--On Wednesday, November 12, 2003 6:25 PM -0500 Casey West
[EMAIL PROTECTED] wrote:
It was Wednesday, November 12, 2003 when [EMAIL PROTECTED] took the
soap box, saying:
: hum could we not get a nice topic prefix added to the list?
: it would make it a lot easy to make mail filters that could
--On Thursday, November 13, 2003 12:35 AM -0800 [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Now that you explained all that, should I reply or reply all?
ie - this message does a reply all as:
To: R. Joseph Newton [EMAIL PROTECTED]
CC: Beginners--Perl [EMAIL PROTECTED], Rob Dixon
[EMAIL
--On Wednesday, November 5, 2003 8:00 PM + Rob Dixon
[EMAIL PROTECTED] wrote:
Alan Perry wrote:
Rob Dixon wrote:
I have taken to copying messages into my text editor as there is
no email client that I know that can do what I want. Until I
write it, that is :)
Someone has saved you the
--On Friday, October 31, 2003 9:24 AM -0800 Gregg O'Donnell
[EMAIL PROTECTED] wrote:
I'm using MIME::Lite to send a wide email, which is formatted as
HTML (could be formatted as text if needed, or as an attachment).
How do I control the printing to orient the email to an 11 X 8 1/2
Could someone recommend a good image file conversion/manipulation
module? I'm having trouble finding one that actually works...
Here are my requirements:
*Must run under Mac OS X (10.3, but if it tested to earlier it should
be fine.)
*Must handle the following image formats: TIFF, PNG.
*Must
--On Monday, October 27, 2003 21:51 -0500 radhika sambamurti
[EMAIL PROTECTED] wrote:
Hi,
As per the code below, I am trying to read from the database and
put the values into a hash list, so that I can retrieve the values
later. I have managed to put the values into arrays, but am not
able to
--On Monday, October 27, 2003 21:22 -0600 Daniel Staal
[EMAIL PROTECTED] wrote:
my $results_hash;
Sorry, correction. That should be:
my %results_hash;
while (my $res = $sth-fetchrow_hashref()) {
push(@menu_id, $res-{menu_item_number});
push(@menu_desc, $res-{description
--On Saturday, October 25, 2003 20:48 -0400 Anthony J Segelhorst
[EMAIL PROTECTED] wrote:
How can add double qoutes around SNMP Service to the variable
$servicename?
I have tried $doubleqoutes_servicename = $servicename;
This does not work though.
Any ideas?
Either of the following should
--On Wednesday, October 22, 2003 16:24 -0600 McMahon, Chris
[EMAIL PROTECTED] wrote:
Can anyone suggest either: a way to make IO::Socket::INET work in
the simplest possible way on 5.005; or a way to install the
smallest possible 5.8; or something I haven't thought of?
Any suggestion (no matter
--On Saturday, October 18, 2003 18:14 +0200 Desmond Coughlan
[EMAIL PROTECTED] wrote:
OK, first question: is all the above possible ? I think that I
know the answer, and that it's yes.
You guessed right there, I believe. ;-)
In which case, my second question is: where can I learn how to do
it
Quick version:
Can anyone tell me what the text encoding is called that this
filename is in?
Siham%2C%20Garden.png
Longer version:
I've got a minor snag in my conversion program: XML::Parser is
encoding the attributes it returns to me. This isn't a problem in
most cases, but there is one case
--On Saturday, October 18, 2003 16:29 -0500 Wiggins d'Anconia
[EMAIL PROTECTED] wrote:
Well generally this is considered either HTML or URL escaping. So
depending on which context you are needing (the above looks like
URL) you may want to try the following two modules:
URI::Escape
HTML::Entities
Ok, I'm writing an apxl to html converter and I have one little
problem: I need to open a filehandle in one sub, use it in several
others, and then close it in a different sub yet. I'd pass it as a
parameter, but all the subs are actually called by XML::Parser, so I
don't get to choose the
--On Friday, October 17, 2003 13:54 -0400 Steve Grazzini
[EMAIL PROTECTED] wrote:
You could use a lexically-scoped filehandle.
{
my $fh;
sub do_open { open $fh }
sub do_append { print $fh }
sub do_close { close $fh }
}
I actually tried that, using
--On Friday, October 17, 2003 13:46 -0500 Charles K. Clarkson
[EMAIL PROTECTED] wrote:
: (I've tried re-creating the
: HTML::Stream too, or just using the 'global' version.)
: This actually was my first try at it. Again, slide()
: works fine, but slide_() doesn't, even though it gets
: called.
--On Friday, October 17, 2003 11:28 -0700 Chinku Simon
[EMAIL PROTECTED] wrote:
However, the number of mails that are being sent is pretty huge --
around 2000 mails in a span of 30 minutes.
The perl program crashes after sending around 700 mails with the
Bulk mail error log giving the following
--On Friday, October 17, 2003 19:08 -0700 [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
How can I convert it to a readable date?
$now=time;
print $now return 1066442632
Time is normally given as the epoch time: the number of seconds since
the beginning of the clock under UNIX (Jan 1, 1970).
To
--On Friday, October 17, 2003 20:38 -0700 [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
I know about localtime(time); But I was wondering if there was a
formula out there like 1066442632/60/60/24 that will say today is
say 2003 10 17.
scratches head
Gee, I don't know what you're asking for here. I
--On Tuesday, October 14, 2003 15:49 -0700 [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
I downloaded the tar file. But I couldn't find out how to install
it from the README. From the various info in the readme I was able
to install the .pm files but not the xs. The Date class look like
it's
--On Tuesday, October 14, 2003 15:59 -0700 [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Can someone shorten this upper routine?
sub toUpper
{ my $z = shift;
$z =~ tr/a-z/A-Z/;
return $z;
}
Sure:
sub toUpper { $_[0] =~ tr/a-z/A-Z/; }
or
sub toUpper { \U$_[0]; }
I wouldn't write a function for
--On Monday, October 13, 2003 17:37 +0100 Gary Stainburn
[EMAIL PROTECTED] wrote:
Hi folks,
I've got the code below, which is suposed to be showing me the
contents of a .dbf file. However, whenever I try to run the
program it fails to open the file.
Can anyone tell me what I'm missing please
--On Friday, October 10, 2003 18:21 -0700 [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
So, would this be it for the optional?
/^[a-zA-Z0-9][\w-]*\.[a-zA-z]+$/
thanks
Yep.
Though you can always try for yourself...
Daniel T. Staal
---
--On Friday, October 10, 2003 16:43 -0700 [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
rules:
starts with alphanumeric
3 chars long
Note, so we are not confused: you mean _at least_ 3 chars long. (Not
_only_ 3 chars long.)
require ONLY one period
require alpha after the period
Ok, what exactly
--On Friday, October 10, 2003 17:45 -0700 [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
start with [a-zA-Z0-9]
chars following is [\w-] BUT IS OPTIONAL
/^[a-zA-Z0-9][\w-]\.[a-zA-z]+$/
I think the regex is not doing the option \w part.
Correct, it isn't. You haven't asked it to... To make it
--On Friday, October 10, 2003 18:21 -0700 [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
So, would this be it for the optional?
/^[a-zA-Z0-9][\w-]*\.[a-zA-z]+$/
thanks
Yep, that should work for you.
Daniel T. Staal
(By the way: Don't reply to me *and* the list. I've set up my email
client so
--On Thursday, October 2, 2003 14:31 -0700 A L [EMAIL PROTECTED]
wrote:
@1@2@3
item1aitem1bitem1c
item2aitem2bitem2c
. . .
. . .
. . .
They all have an equal number of items. I
--On Thursday, October 2, 2003 17:54 -0400 Dan Anderson
[EMAIL PROTECTED] wrote:
Is there a way to match a question mark using a regular expression
without looking for a \X{3F} ?
Just escape it: \?
Daniel T. Staal
---
This email
--On Monday, September 29, 2003 23:53 -0700 [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
-I've sent this to the mod_perl list but there seems to be no
response.
I got the module working in the current directory executing on the
command line. But I have a problem calling a module in my mod_perl
1 - 100 of 111 matches
Mail list logo