OpenPGP error

2005-11-04 Thread Tony Bass
Hi, Can anyone tell me why I get an error when I try to decrypt a file using Crypt::OpenPGP The error is: encrypt: datasize not multiple of blocksize (16 bytes) at C:/Perl/site/lib/Crypt/OpenPGP/CFB.pm line 59. This happens whether I encrypt the file using my perl code (below) or using PGP

RE: importing scalars into an other script

2005-11-04 Thread Brian Raven
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of KEITA Alhassane Abdel Sent: 04 November 2005 15:09 To: activeperl@listserv.ActiveState.com Subject: importing scalars into an other script > hello. > > I've tryed to use some variables declared into my package "test.pm" in my script

Re: importing scalars into an other script

2005-11-04 Thread $Bill Luebkert
KEITA Alhassane Abdel wrote: > hello. > > I've tryed to use some variables declared into my package "test.pm" in > my script "test.pl". I work under "Windows XP". > > "test.pl" > --- > use strict ; > use lib('E:\Program Files\EasyPHP1-8\c

Re: importing scalars into an other script

2005-11-04 Thread Williamawalters
In a message dated 11/4/2005 10:50:15 A.M. Eastern Standard Time, [EMAIL PROTECTED] writes:   > my $var1 = 100 ;   lexical (my) variables have file-scope only.   try:         our $var1 = 100; > sub sub_test{>  print "Sub sucessfully imported" ;> }> 1;> END{}   may not be critical, but more

Re: importing scalars into an other script

2005-11-04 Thread pDale
On 11/4/05, KEITA Alhassane Abdel <[EMAIL PROTECTED]> wrote: > hello. > > I've tryed to use some variables declared into my package "test.pm" in my > script "test.pl". I work under "Windows XP". > > "test.pl" > --- > use strict ; > use lib('E:

importing scalars into an other script

2005-11-04 Thread KEITA Alhassane Abdel
hello.   I've tryed to use some variables declared into my package "test.pm" in my script "test.pl". I work under "Windows XP".   "test.pl" --- use strict ;use lib('E:\Program Files\EasyPHP1-8\cgi-bin\devis') ;use test;print "$var1\n" ;sub_tes

RE: RegExp help

2005-11-04 Thread Brian Raven
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of sekhar kavuru Sent: 03 November 2005 17:00 To: activeperl@listserv.ActiveState.com Cc: $Bill Luebkert; [EMAIL PROTECTED] Subject: RegExp help > my $str = "/install/sql/foo.c; > > from $str string I need to get "/install/sql/ > >