Jenda Krynicky wrote:
>
> From: "John W. Krahn" <[EMAIL PROTECTED]>
> > Or, you could do it the "correct" way. :-)
> >
> > use POSIX 'strftime';
> >
> > my $date = strftime '%a, %d %b %Y %H:%M:%S %z', localtime;
> > $smtp->datasend( "Date: $date\n" );
>
> I'm not sure this is the correct way.
>
Adam,
Not sure exactly what you are trying to do, but from what i gather...
you don't want to say:
@fieldprice > 0
as that will put the "array" fieldprice in scalar contect, and give you
back the number of elements in that array...
Now Assuming:
$fieldprice = 14.95
You should be able to
Hi all...
I have worked for about 6 hours on one bit of code and to be honest, I
am bum-fuzzeled. I don't know who to ask or where to look for help..
Chat rooms seem to be of no use..
I have values - 14.95 and 28.00 and 0.00
I want this code to say, if equal 0.00 then don't display html, else
di
I've been having a bit of trouble getting LWP and HTTP::Cookies to play
nice in a little script I've been making. Basically it's just a simple
get client that retrieves a series of URLs defined by 2 for loops. But
to achieve it's goal the client has too both impersonate a browser
(which was quite
Group, this isn't about beginners or Perl, it's about whether or not VB,
Perl etc is the best language in the world and doesn't belong here. People
are as protective of their favourite languages as they are of their mothers,
and I don't want to read a list of list members' relatives either.
Please
From: "John W. Krahn" <[EMAIL PROTECTED]>
> Or, you could do it the "correct" way. :-)
>
> use POSIX 'strftime';
>
> my $date = strftime '%a, %d %b %Y %H:%M:%S %z', localtime;
> $smtp->datasend( "Date: $date\n" );
I'm not sure this is the correct way.
This prints
Sun, 05 Jan 2003 18:42:
From: Jerry Rocteur <[EMAIL PROTECTED]>
> Thanks.. I would not unsubscribe from this list, it is great and it
> has its place, there's quite a bit of advanced stuff on this list and
> whilst Randal subscribes to it, I'll stay subscribed ;-))
>
> I was just interested in what other Perl lists you m
How to extract a atcahment from a email to save in harddrive Im using Net::POP3
If you use the following:
printf "%x\n", $_;
where $_ equals 3385906118 it will print C9D0D3C6 or are you needing the
data to be in true binary form, then pack may be what you need.
Wags ;)
-Original Message-
From: Alex Demmler [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 05,
On Sun, Jan 05, 2003 at 09:00:03PM +0800, Gary Fung wrote:
> I am the beginner of using Perl. I am facing 2 problems when I am
> doing my Academic Project. My project is to build a system for
> Webmining.
>
> 1. Can Perl 5 build a .EXE (executable) file from a program source.
If you are a
in Beitrag [EMAIL PROTECTED]
schrieb Jensen Kenneth B Sra Afpc/Dpdmpq unter
[EMAIL PROTECTED] am 02.01.2003 15:25 Uhr:
> Is there a perl command equivalent to:
> system ("clear");
> ?
>
> Thanks,
> Ken
>
>
Simple write it as a system call
#!/usr/bin/perl -w
system("clear"); on UNIX
system("cl
Hi folks!
How do I write hex Values direct into a file (like a hex editor does)?
I have tested some stuff with "printf" but it did not worked (as I expected
or I did wrong).
Example: I need to write "C9D0D3C6" as header in front of my files.
Thanks a lot
Alex
--
To unsubscribe, e-mail: [EMAIL
Hi,
I am the beginner of using Perl. I am facing 2 problems when I am doing my Academic
Project. My project is to build a system for Webmining.
1. Can Perl 5 build a .EXE (executable) file from a program source. How?
2. Since my project Webmining include the technique of data-mining (Apriori
> ahh yes, thank you. but i ran into a little problem. consider the code:
>
> open PIPE, "| /usr/bin/mplayer args" or die "failed to open pipe, $!"
> while ( ) {
> if ($condition) {
> close(PIPE);
> }
> else{
> # process line
> }
> }
>
> it
"Beau E. Cox" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi -
>
> I can't seem to find a good benchmark suite for perl.
> I looked through CPAN and found benchmarking tools, but
> not a ready-to-go suite.
>
> I don't need anything too fancy. I have compiled
# > As for me I don't like visual basic so I don't use it and I don't
# > post to mailing lists for it explaining that all of these 1000's of users
# > are dumb to use such a language.
#
# do you know how many VB developers are in the US alone?
Of course, numbers do say a lot; in this case, you'r
On Sun, 5 Jan 2003 00:43:07 +0100, [EMAIL PROTECTED] (Jerry Rocteur)
wrote:
>Hi,
>
>I'm looking for a Perl list a bit more advanced that this one, you
>know, not beginners questions..
>
>I love this list and I'm learning a lot from it but I'm wondering if
>there is another list with less "hello
On Sat, 04 Jan 2003 17:32:22 -0500, [EMAIL PROTECTED] (Mark Goland)
wrote:
>no, I want to use one of Crypt modules which expacts to be passed strings of
>n*16 bytes. How do I go about genereting such blocks ??
#this sub makes all data blocksize of 16 bytes.
sub get16 {
my $data = shift;
I have installed pgp 6.5.8 , and am testing on winXP. I can encrypt and
decrypt from cmd just fine. Have anyone used this pack, I am having a hard
time Can any make something of it ??
use Crypt::PGPSimple;
{
open my $RD_FH,"< $ARGV[0]" || die "cant open $ARGV[0]: $!";
local @TMP=<
Hi,
Thanks.. I would not unsubscribe from this list, it is great and it has
its place, there's quite a bit of advanced stuff on this list and
whilst Randal subscribes to it, I'll stay subscribed ;-))
I was just interested in what other Perl lists you more advanced guys
also subscribed to that'
20 matches
Mail list logo