Quoting Hash Keys; should I or shouldn't I?

2002-01-11 Thread Mark Ross
there a reason why I should ditch them? Thanks, --Mark Ross. __ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Crypt::GPG produces warnings and blank file

2001-09-12 Thread Mark Ross
Hi all, I'm trying to take a bit of input and encrypt it via GnuPG. I'm using Crypt::GPG to interface with it, and its driving me batty. Here's the code: #!/usr/bin/perl -w use strict; use Crypt::GPG; my $gpg = new Crypt::GPG; $gpg->gpgbin('/usr/local/bin/gpg'); $gpg->gpgopts('--no-secmem-wa

Re: colored text

2001-08-09 Thread Mark Ross
> I was wondering if there was anyway to print colored > text at the command > line. I actually was looking for this today as well. Check out: http://www.perldoc.com/perl5.6/pod/perlfaq8.html#How%20do%20I%20print%20something%20out%20in%20color%3f > Thanks, > Tyler Longren > Captain Jack Communi

RE: #!/perl -w, Strict, & Diagnostics

2001-06-15 Thread Mark Ross
At 02:58 PM 6/15/01 -0400, Tim Musson wrote: >Hey all, > >I have been using >#!/perl -w > What about using "use warnings" rather than the "-w"? It seems that I read in Programming Perl to use "use warnings" but it all seems foggy now. Are the two the same thing? >and based on some posts hav

Any recommendations for a PGP module?

2001-06-12 Thread Mark Ross
Hi all, I was wondering if anyone has a recommendation for a module that can encrypt data via PGP. I've looked on CPAN, and there's a couple that seem to do what I want. I was just wondering if the gurus out there could offer their input on the good ones (how 'bout Crypt::PGP5 ?) Thanks, --Mark.

RE: Any Perl to Pager module?

2001-06-08 Thread Mark Ross
Nuts! I searched for "dial", "telephone", "telephony", "comm" ... the obvious seems to be what I miss most often. -Original Message- From: Brent Michalski [mailto:[EMAIL PROTECTED]] Sent: Friday, June 08, 2001 6:36 AM To: Mark Ross Cc: [EMAIL P

Any Perl to Pager module?

2001-06-08 Thread Mark Ross
Hi all, Has anyone heard of a "simple" perl module that dials a phone number, waits a while and then dials another number? (IE, so I can have my perl script page me?) I've seen a few that will allow me to communicate with my comm port and feed info directly, but I was hoping for something that a

Related to: RE: email on win32

2001-06-07 Thread Mark Ross
How would one modify this to add an attachment to the email. Say, a gif or jpg? > John Storms wrote: > > # to, from, subject, body, [mailhost] > sub mailit { > my(%mail) = @_; > if($mail{'to'} eq "") { return(0); } > > # Set default mail host > if($mail{'host'} eq

RE: Where can I learn how to use taint?

2001-06-05 Thread Mark Ross
> > >>This code: > > >> > > >>#!/usr/local/bin/perl -wT > > >>use strict; > > >>use CGI; > > >>my $q = new CGI; > > >>print ("hi"); > > >>exit; > > >> > > >>produces this: > > >>"Too late for "-T" option at w:\cgi-bin\admin\tainttest.pl line 1." > > > > > >The problem is that -T needs to be enabl

RE: Where can I learn how to use taint?

2001-06-05 Thread Mark Ross
>>This code: >> >>#!/usr/local/bin/perl -wT >>use strict; >>use CGI; >>my $q = new CGI; >>print ("hi"); >>exit; >> >>produces this: >>"Too late for "-T" option at w:\cgi-bin\admin\tainttest.pl line 1." > >The problem is that -T needs to be enabled so early in the invocation >process that by the ti

Where can I learn how to use taint?

2001-06-05 Thread Mark Ross
Hi all, I'm very confused on how to use taint for my cgi scripts. This code: #!/usr/local/bin/perl -wT use strict; use CGI; my $q = new CGI; print ("hi"); exit; produces this: "Too late for "-T" option at w:\cgi-bin\admin\tainttest.pl line 1." Ummm ... I'm quite confused about this, sin

Installing modules in a different file

2001-05-31 Thread Mark Ross
Hi all, I was wondering if someone could point me in the direction where I could find out how, if even possible, to install Perl modules in a different directory (like /cgi/module_library/). I don't have root access to the server. Is there a way around this? Thanks, Mark Ross