On Tue, 2012-08-07 at 10:05 -0400, Chris Nehren wrote:
> On Tue, Aug 07, 2012 at 17:38:57 + , Thomas Dean wrote:
> > Hi there,
> >
> > I have succeeded in sending mail to my SMTP server with Mail::Sender
> > without SSL. But now I'm wondering how to do that
Hi there,
I have succeeded in sending mail to my SMTP server with Mail::Sender
without SSL. But now I'm wondering how to do that with SSL, for example,
GMail. After reading the doc, I set TLS_required to 1 when I'm calling
Mail::Sender->new, but nohing works. I tried to debug the program but
found
Hi there,
Under 'use strict;',
when can I omit the bracket and just write something like
sub1;
instead of
sub1();
and when cannot?
Thomas
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
Hi there,
I'm wondering how to get the file handle or a reference of a file
object of a scalar in which stores a string.
Thanks,
Thomas
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
revised to exclude matching number greater than 80
$player_total_points =~/^[1-7]\d$/ || $player_total_points =~/^80$/
2011/6/21 Dean Du
> $player_total_points =~/^[1-8]\d$/
>
>
> 2011/6/21 eventual
>
>> Hi,
>> Looking at the script below, how do I write a range
$player_total_points =~/^[1-8]\d$/
2011/6/21 eventual
> Hi,
> Looking at the script below, how do I write a range of 10 to 80 as
> a regular expression.
> I tried [10 - 80] but it wont work.
> Thanks
> # script ##
>
> #!/usr/bin/perl
>
> my $player_total_points = 70;
> if ( $pla
On Jun 13, 6:26 am, [EMAIL PROTECTED] ([EMAIL PROTECTED])
wrote:
> Hi All,
>
> I'm pretty new to Perl. I was trying to write up a perl script that
> can help set up my working env, for example, once log into Linux
> server, run the perl script, it'll move to another folder and
> configure some env
On Jun 5, 10:38 pm, [EMAIL PROTECTED] wrote:
> how do i declare loop and print a 4 dim array
How have you defined the 4D array?
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
On Jun 5, 1:24 am, [EMAIL PROTECTED] (Tom Phoenix) wrote:
> On 6/4/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> > What I'm having trouble understanding is how $class is passed the
> > argument "Horse" when I don't explicitly pass Horse as a parameter to
> > speak.
>
> It's automatic when yo
Hello,
I'm rather new to PERL. How do I go about sorting
a simple text file using PERL? This is what I want
to accomplish.
# sort /etc/passwd > /etc/passwd-new
# mv /etc/passwd-new /etc/passwd
Thanks in advance for your help.
-Dean
---
Outgoing mail is certified Virus Free.
Checke
to putting Perl on the root of a drive.
Thanks.
Dean Theophilou
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Of course, you can always have VB output the results to a text file and then
have Perl read it. I think that would probably be the simplest way to do it.
Dean Theophilou
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Chris Ball
Sent: Friday, February
Hello:
I'm interested in finding out more about what's planned in Perl 5.8. Could
someone direct me to the proper site? Thanks.
Dean
-Original Message-
From: Elaine -HFB- Ashton [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 20, 2002 11:49 AM
To: zentara
That's ok. You're not the only one. :)
Dean
-Original Message-
From: Deen Hameed [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 11, 2002 11:30 PM
To: Dean Theophilou
Cc: Timothy Johnson; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: Waning : Opinion! [was RE: Complet
Yeah, even bigger than that! :)
Dean
-Original Message-
From: Brett W. McCoy [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 07, 2002 6:17 PM
To: Dean Theophilou
Cc: [EMAIL PROTECTED]
Subject: RE: is Shell.pm deprecated?
On Thu, 7 Feb 2002, Dean Theophilou wrote:
> No, I me
No, I meant ETA (Estimated Time of Arrival). By the way, I was only kidding.
However, should you actually do it, then think of all the fame and fortune it
will bring you. :)
Dean Theophilou
-Original Message-
From: Jenda Krynicky [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February
So, Jenda, what's the eta on the enhancement? :)
Dean Theophilou
P.S. Don't forget to update the docs too (preferably in Word or html format).
:
-Original Message-
From: Brett W. McCoy [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 07, 2002 12:13 PM
To: Jenda K
ctory, and you type
"PerlFile" (i.e., with no extension), then the PerlFile.exe will run and NOT
PerlFile.pl. In such cases, you'll HAVE to use the extenstion if you want the
Perl program to run.
Hope this helps.
Dean Theophilou
P.S. If you intend to do any serious work with Pe
TECTED]]
Sent: Monday, January 21, 2002 11:27 AM
To: 'Dean Theophilou'; Perl_beginner (E-mail)
Subject: RE: The => in Hashes
> -Original Message-
> From: Dean Theophilou [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 21, 2002 2:16 PM
> To: Perl_beginner (E-mail
Hello:
There have been many times that I have seen a hash like this:
%Hash = ("Key1" => "Value1");
My question is that if the => operator quotes stuff to the left of it, then why
bother quoting the Key1 portion of the hash definition?
Also, what the !@#$!@# is "foo"! :)
Yes, but that doesn't mean that once it finishes it won't continue on to the
next line of code, right?
Dean Theophilou
-Original Message-
From: Agustin Rivera [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 15, 2002 5:00 PM
To: Dean Theophilou; Jim Ockers; [EMAIL PROTECTE
So what you're saying is that the backticks wait until the process is finished?
I was wondering about that. I know that system() doesn't wait; it fires off the
command and continues on to the next line.
Dean Theophilou
-Original Message-
From: Agustin Rivera [mailto:[EMAIL
You can also start the program from the console. Or, you can use a shortcut to
launch Cmd.exe with the /K parameter and the name of your script. For example:
cmd.exe /K perlscript
Dean
-Original Message-
From: Gary Hawkins [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 14, 2002 12
osedly) does is to wait for the logon scripts to complete before starting
the user's shell.
In any event, I would still appreciate any tips/tricks regarding the Perl
console. Thanks.
Dean Theophilou
Genisar
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Hello:
I forgot to mention that when I don't use Runh.exe (or if I don't call the
logon script from Usrlogon.cmd), then the logon script works as expected. Once
again, thanks.
Dean
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
as to why this is and if there is a work around?
Thanks.
Dean
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello:
Can someone tell me if the GetHostName function is a reliable way of
determining if a particular machine is up or down? Thanks.
Dean Theophilou
Genisar
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Actually, I think my criteria is a little simpler. If the shell script requires
more than 2 lines, then use Perl instead. :)
Dean Theophilou
Genisar
-Original Message-
From: Jeff 'japhy' Pinyan [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 04, 2002 9:10 AM
To: Booher
You can also use "warn" rather than "die".
Dean Theophilou
Genisar
-Original Message-
From: Agustin Rivera [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 5:48 PM
To: [EMAIL PROTECTED]; Richard J. Barbalace
Subject: Re: Resume after die?
I'm not t
lized and yet a reference to that hash is
passed in as a parameter in another function; whereas I ALWAYS initialize ALL
variables that I use in my scripts. Anyway, thanks in advance.
Dean Theophilou
Genisar
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Your quote is incorrect, from what I remember, that is. It's more like "a more
wretched hive of scum and villainy" (sp?).
Dean
-Original Message-
From: Brett W. McCoy [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 02, 2002 11:22 AM
To: Maciejewski, Thomas
Cc:
If you're working on a Windows platform, why would you NOT want to use PPM?
Just curious.
Dean Theophilou
Genisar
-Original Message-
From: VSNL [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 17, 2001 9:43 AM
To: [EMAIL PROTECTED]
Subject: How to install a perl module with out
Win32 Perl Programming: The Standard Extensions, 2nd Edition, Dave Roth. This
book is a must for Win32 Perl.
Dean Theophilou
Genisar
-Original Message-
From: Wert, Nathaniel [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 13, 2001 12:31 PM
To: Ryan Guy; '[EMAIL PROTECTED]
b, since I can easily impersonate a user with
the AdminMisc module.
What we want is for the VB program to set a variable based on the results of
the Perl program. Something like this (using Perl syntax):
$VBtextstring = "RunPerlToGetNewPassword.exe";
Any ideas?
Dean Theophilo
Hello:
I would like to exit a perl program such that upon exiting, it will return a
text string to the calling program. How would I go about doing this?
exit $SomeTextString;
doesn't work, since "exit" evaluates the above scalar as an integer. Thank you
in advance.
Hello:
I'd like to say thanks (although somewhat belated) to everyone to responded
to my question regarding password generation. You have all been very
helpful. I got my program working the way I wanted it to. Thanks again.
Dean Theophilou
Genisar
-Original Message-
the right direction? Thanks.
Dean Theophilou
Genisar
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Care to explain a little about her history?
Dean Theophilou
Genisar
-Original Message-
From: nafiseh saberi [mailto:[EMAIL PROTECTED]]
Sent: Saturday, September 08, 2001 9:49 PM
To: [EMAIL PROTECTED]
Subject: woman day !
hi all.
today in IRAN is woman day.
because one of the greatest
I'm not sure if it's applicable, but you can also try starting the program
with "runh.exe".
Dean Theophilou
Genisar
-Original Message-
From: Sidharth Malhotra [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 06, 2001 7:07 PM
To: Danny Reyna; [EMAIL PROTECTED]
Hello:
Thank you for the clarification. One more question: you mentioned
"perlcc"; Is there a web site I can go to which would provide information
regarding this utility and it's status? Thanks.
Dean Theophilou
Genisar
-Original Message-
From: Jenda Krynicky
nts and
other things, runs about 2 seconds faster (per account; 6-7 seconds vs. 7-9
seconds). I hate to have to ask this question, but, would that indicate
that my program is NOT effeciently written? Anyway, thanks for reading this
far.
Dean Theophilou
Genisar
--
To unsubscribe, e-mail: [
=c"
"v1=4, v2=5, v3=6"
the script looks like this:
foreach (@parameters){
my $line=$_;
($v1,$v2,$v3) = split (/ /,$line);
print "v1=$v1\n";
print "v2=$v2\n";
print "v3=$v3\n";
}
----
I have the following array:
1 2 3
4 5 6
7 8 9
Is there a way to assign individual values of each array element (1 2 3
4 5 6 7 8 9) to seperate variables so that
$var1 = 1
$var2 = 2
.
.
.
$var9 = 9
Dean Paulson
)?
If not, then is there a good alternative to RoboCopy (I need to be able to
preserve permissions on the copied files/folders so that they are the same
as the source)? Thanks.
Dean Theophilou
Genisar
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ng about Perl. He called
it a "non-compiled...scripting language...for non-serious [and/or]
non-programmers". Boy! Did I really let him have it!
Anyway, just thought I'd pass that along.
Dean Theophilou
Genisar
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Actually, you DO sound like him. Even more importantly, however, you have
to be careful with the language used in the subject line. That could get
someone in trouble. :))
Dean
-Original Message-
From: Miriam Hadary [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 21, 2001 10:33 AM
ink you missed out on the BASIC(s). :)))
Dean
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Yes, that's right, but they program in "Kobol". :))
Dean (I, too, played wyyy to much AD&D).
-Original Message-
From: Gene Martin [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 20, 2001 10:44 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [drifting OT
For a list of editors, go here:
http://www.perlmonks.org/index.pl?node=Outside%20Links
or here:
http://www.perl.com/cs/user/query/q/6?id_topic=41
I use CodeMagic, which is not on the above two lists:
http://www.codemagiccd.com
Dean Theophilou
Genisar
-Original Message-
From
The only good thing about the nasty little Kobols are that they have only
1-4 hit points (if I remember correctly). :))
Dean Theophilou
Genisar.
-Original Message-
From: Gary Stainburn [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 20, 2001 1:24 AM
To: jim-ryan; [EMAIL PROTECTED
Oh, ok. I thought that you were in some way disagreeing. Cool. Thanks for
the clarification. I appreciate it.
Dean Theophilou
Genisar
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 17, 2001 6:21 PM
To: Dean Theophilou
Cc: [EMAIL
emise please), then you can obviously
catch more flies with...ahem...pooh pooh than you ever will with honey (and
you can quote me on that). :))
Dean Theophilou
-Original Message-
From: Jon [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 17, 2001 4:12 PM
To: [EMAIL PROTECTED]; Jon Acierto; [
uage" (pp.
7-8) (Emphases, in caps, are the author's and not mine.)
Conclusion: Perl is a high-level language; and it is both a scripting
language as well as a programming language (since it has the characteristics
of both). In other words, you can have your cake and eat it too.
I thought a cobol was a short little monster in Dungeons & Dragons that is
distantly related to orcs.
Dean Theophilou
-Original Message-
From: Humberto Varela [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 17, 2001 11:19 AM
To: [EMAIL PROTECTED]
Subject: Re: PERL IS NOT A HIGH L
posed to "teachers")
professional programmers.
Dean Theophilou
Genisar
-Original Message-
From: Jon Acierto [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 17, 2001 9:47 AM
To: [EMAIL PROTECTED]
Subject: PERL IS NOT A HIGH LEVEL LANGUAGE
Hello Guys It's me again,
A
ese at cut rate prices. Anyway, I
hope this helped you out.
Dean Theophilou
Genisar
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Sunday, August 05, 2001 12:01 AM
To: [EMAIL PROTECTED]
Subject: Some Extremely Clueless Questions!
Hello,
I'm learning Per
A nerf clue-bat? Now that sounds interesting. Time to head down to the
local toy store.
Dean Theophilou
Genisar
-Original Message-
From: Kevin Meltzer [mailto:[EMAIL PROTECTED]]
Sent: Saturday, June 16, 2001 9:40 AM
To: [EMAIL PROTECTED]
Subject: Re: [OT] thread CLOSED
It is a
nterpreted that to mean .pl plus any
other letter you want (or no letter if you so desire). Hmmm...I guess I
read it right the first time! :)
Dean Theophilou
Genisar
P.S. Thanks for the history lesson. It was a good story.
-Original Message-
From: Paul Johnson [mailto:[EMAIL PROTECTED
mmand". These are
two DIFFERENT programs, although they look identical. Cmd.exe doesn't
require the use of quotes with long file names, and has other benfits that
I'm too tired to remember right now. :)
Dean Theophilou
Genisar
P.S. I hope this response seemed coherant (I
);
>
> $telnet->cmd("gnome-session");
>
> $telnet->close;
>
>exit;
>
>### end of script #
>
>[--]
> Kris G Findlay
> [EMAIL PROTECTED]
>[--]
Regards
Paul Dean
IT Support Officer
Canning College
Computing Centre
Ph: 9350 5430
Mob: 0408 902 206
[EMAIL PROTECTED]
Hya,
At 03:22 PM 13/06/2001 -0700, Hans Holtan wrote:
>Hi everyone,
>
>I'm a bit green, and I'm trying to split a large file into a hash. My
>problem is that the parts that I want to use as keys are a bit long
>(100-200 letters), and I will need to pull them out by the presence of
>certain sub
hya,
On Mon, 11 Jun 2001, Charles Lu wrote:
> > When I run the following code with the Warning flag I get the following
> > message:
> >
> > Variable "%hash" will not stay shared
> >
> > Here is my code:
> >
> > #trying to sort a Hash by Value
> > use strict;
my($var, @list, %hash);
sub fu
At 05:29 PM 28/05/2001 +0100, Bornaz, Daniel wrote:
>Dear all,
>
>I am trying the following code using ActivePerl 5.6.1.626, in my quest to
>find the minimal string between "bar" and "river":
>
>$stt="The food is under the bar in the barn in the river.";
>$stt=~/bar(.*?)river/;
>print "$&";
>
>The
63 matches
Mail list logo