Re: Mail::Sender with SSL

2012-08-07 Thread Thomas Dean
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

Mail::Sender with SSL

2012-08-07 Thread Thomas Dean
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

When are brackets necessary?

2012-08-05 Thread Thomas Dean
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/

How to get the file handle of a scalar

2012-07-30 Thread Thomas Dean
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/

Re: how to write a range of 10 to 80 as a regular expresssion

2011-06-21 Thread Dean Du
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

Re: how to write a range of 10 to 80 as a regular expresssion

2011-06-20 Thread Dean Du
$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

Re: Set up env variables on Linux

2007-06-13 Thread Dean
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

Re: PERL arrays

2007-06-05 Thread Dean
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/

Re: Understanding methods OO Perl

2007-06-05 Thread Dean
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

Sort Text File

2003-10-03 Thread Dean Do
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

Installing ActivePerl

2002-05-04 Thread Dean Theophilou
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]

RE: Perl calling Visual Basic

2002-02-22 Thread Dean Theophilou
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

RE: bleedperl , Berkeley DB-4, BerkeleyDB

2002-02-20 Thread Dean Theophilou
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

RE: Waning : Opinion! [was RE: Complete Beginner Looking for Advise!]

2002-02-12 Thread Dean Theophilou
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

RE: is Shell.pm deprecated?

2002-02-07 Thread Dean Theophilou
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

RE: is Shell.pm deprecated?

2002-02-07 Thread Dean Theophilou
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

RE: is Shell.pm deprecated?

2002-02-07 Thread Dean Theophilou
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

RE: make a executable with a perl file in windows

2002-02-01 Thread Dean Theophilou
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

RE: The => in Hashes

2002-01-21 Thread Dean Theophilou
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

The => in Hashes

2002-01-21 Thread Dean Theophilou
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"! :)

RE: running commands in bkgd

2002-01-15 Thread Dean Theophilou
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

RE: running commands in bkgd

2002-01-15 Thread Dean Theophilou
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

RE: 2 Questions

2002-01-14 Thread Dean Theophilou
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

RE: Perplexed

2002-01-09 Thread Dean Theophilou
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]]

Perplexed: Part 2

2002-01-08 Thread Dean Theophilou
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]

Perplexed

2002-01-08 Thread Dean Theophilou
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]

AdminMisc::GetHostName Question

2002-01-04 Thread Dean Theophilou
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]

RE: is there ever a situation when you need a shell script instead of a perl script?

2002-01-04 Thread Dean Theophilou
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

RE: Resume after die?

2002-01-03 Thread Dean Theophilou
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

Dumb hash question.

2002-01-03 Thread Dean Theophilou
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]

RE: C vs. Perl

2002-01-02 Thread Dean Theophilou
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:

RE: How to install a perl module with out using PPM ?

2001-12-17 Thread Dean Theophilou
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

RE: Win32::Console.

2001-12-13 Thread Dean Theophilou
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]

RE: Returning a text string

2001-12-03 Thread Dean Theophilou
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

Returning a text string

2001-12-03 Thread Dean Theophilou
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.

RE: Password Generators

2001-09-17 Thread Dean Theophilou
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-

Password Generators

2001-09-11 Thread Dean Theophilou
the right direction? Thanks. Dean Theophilou Genisar -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: woman day !

2001-09-09 Thread Dean Theophilou
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

RE: HOW TO "HIDE" DOS CONSOLE : from apache webserver (using win98)

2001-09-07 Thread Dean Theophilou
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]

RE: PerlApp & Machine Code

2001-09-06 Thread Dean Theophilou
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

PerlApp & Machine Code

2001-09-05 Thread Dean Theophilou
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: [

solved: Extracting values from array elements

2001-08-29 Thread Dean W. Paulson
=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"; } ----

Extracting values from array elements

2001-08-29 Thread Dean W. Paulson
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

Robocopy v. 1.95

2001-08-24 Thread Dean Theophilou
)? 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]

Thanks for the recent discussion on Perl and high level languages.

2001-08-23 Thread Dean Theophilou
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]

RE: GET ME OFF

2001-08-21 Thread Dean Theophilou
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

RE: [drifting OT]Re: PERL IS NOT A HIGH LEVEL LANGUAGE

2001-08-21 Thread Dean Theophilou
ink you missed out on the BASIC(s). :))) Dean -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [drifting OT]Re: PERL IS NOT A HIGH LEVEL LANGUAGE

2001-08-20 Thread Dean Theophilou
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

RE: Perl script editor for NT/2000

2001-08-20 Thread Dean Theophilou
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

RE: [drifting OT]Re: PERL IS NOT A HIGH LEVEL LANGUAGE

2001-08-20 Thread Dean Theophilou
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

RE: PERL IS NOT A HIGH LEVEL LANGUAGE and What is a Script

2001-08-17 Thread Dean Theophilou
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

RE: PERL IS NOT A HIGH LEVEL LANGUAGE

2001-08-17 Thread Dean Theophilou
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; [

RE: PERL IS NOT A HIGH LEVEL LANGUAGE and What is a Script

2001-08-17 Thread Dean Theophilou
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.

RE: PERL IS NOT A HIGH LEVEL LANGUAGE

2001-08-17 Thread Dean Theophilou
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

RE: PERL IS NOT A HIGH LEVEL LANGUAGE

2001-08-17 Thread Dean Theophilou
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

RE: Some Extremely Clueless Questions!

2001-08-05 Thread Dean Theophilou
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

RE: [OT] thread CLOSED

2001-06-16 Thread Dean Theophilou
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

RE: Re[2]: MS-DOS *AND* Re: I need help running perl for windows

2001-06-15 Thread Dean Theophilou
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

RE: Re[2]: MS-DOS *AND* Re: I need help running perl for windows

2001-06-15 Thread Dean Theophilou
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&#x

Re: Net::Telnet

2001-06-14 Thread Paul Dean
); > > $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]

Re: regex on hash keys?

2001-06-13 Thread Paul Dean
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

Re: Perl Scope Question

2001-06-10 Thread Paul Dean
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

Re: Regex problem

2001-05-28 Thread Paul Dean
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