Re: MAC and install CPAN

2007-04-30 Thread Tom Allison
On Apr 29, 2007, at 9:36 PM, Tom Phoenix wrote: On 4/29/07, Tom Allison <[EMAIL PROTECTED]> wrote: Warning: prerequisite Mac::Carbon 0.77 not found. We have 0.71. Have you tried installing a newer version of Mac::Carbon? Yes I did, and the make failed on that as well. Which is why I'm st

Re: Encryption

2007-04-30 Thread Andreas Moroder
Hello, I got this steps from http://www.ecuoug.org/papers/OraclePasswordAlgorithm.pdf I'm a bit unclear about step 5, but it should be doable in Perl once you determine the EXACT steps you need to take. Here are some tips to maybe get you through the first four steps. This my be far off from wh

Re: Encryption

2007-04-30 Thread Andreas Moroder
I'm a bit unclear about step 5, but it should be doable in Perl once you determine the EXACT steps you need to take. Here are some tips to maybe get you through the first four steps. This my be far off from what Oracle needs, but it seems to work for your first 4 steps. Some questions remain, lik

Re: Encryption

2007-04-30 Thread Andreas Moroder
Sorry, I know I should write all in one answer ;) I think in this place the algorithm is explained better. http://groups.google.com/group/comp.databases.oracle/msg/83ae557a977fb6ed?hl=en Bye Andreas -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTE

Re: creating hash from scalar variable

2007-04-30 Thread Randal L. Schwartz
> ""Matthew" == "Matthew J Avitable" <[EMAIL PROTECTED]> writes: "Matthew> You could also invoke perl 5.8's ability to treat an in-memory string as a "Matthew> file: You can, but that's rapidly sliding into "obfuscation" territory. You already have the data... why shove it out as a filehand

Re: creating hash from scalar variable

2007-04-30 Thread Rob Dixon
Matthew J. Avitable wrote: Given the original string ... my $test = 'NAS-IP-Address = 192.168.42.1 ... Acct-Unique-Session-Id = "87d380e1881d226c" Timestamp = 1177282824'; You could also invoke perl 5.8's ability to treat an in-memory string as a file: ## get a filehandle on $

Mac::Carbon Bug

2007-04-30 Thread Tom Allison
Can anyone provide details on if a workaround exists for the growing lists of defects for Mac::Carbon not being installable? Mac::Carbon 25075 24770 24841 File::HomeDir 25075 I'm in need of installing DBI on my MacBook. As a general practice I was going to 'install Bundle::CPAN' and then inst

Re: creating hash from scalar variable

2007-04-30 Thread Goksie
Rob Dixon wrote: > Matthew J. Avitable wrote: >> >> Given the original string ... >>> my $test = >>> 'NAS-IP-Address = 192.168.42.1 >>> ... >>> Acct-Unique-Session-Id = "87d380e1881d226c" >>> Timestamp = 1177282824'; >>> >> >> You could also invoke perl 5.8's ability to treat an in-memo

Re: creating hash from scalar variable

2007-04-30 Thread Matthew J. Avitable
Unf. Got the picture! I'll spend my night in the stockades :) -m Rob Dixon wrote: Matthew J. Avitable wrote: Given the original string ... my $test = 'NAS-IP-Address = 192.168.42.1 ... Acct-Unique-Session-Id = "87d380e1881d226c" Timestamp = 1177282824'; You could also invoke

Re: Mac::Carbon Bug

2007-04-30 Thread Tom Phoenix
On 4/30/07, Tom Allison <[EMAIL PROTECTED]> wrote: Can anyone provide details on if a workaround exists for the growing lists of defects for Mac::Carbon not being installable? Have you checked with the module's author yet? --Tom Phoenix Stonehenge Perl Training -- To unsubscribe, e-mail: [EM

Re: MAC and install CPAN

2007-04-30 Thread Jonathan Heard
Have you installed the Developer Tools from Apple Developer Connection? http://connect.apple.com/ You have to download and install that toolset to get the compiler and libraries. They do not come installed natively on the make. Jon On Apr 30, 2007, at 1:37 PM, Tom Allison wrote: On Apr 29,

Re: How can I respond to Net::FTP timeouts?

2007-04-30 Thread charlie farinella
On Thursday 26 April 2007 21:47, Tom Phoenix wrote: > On 4/26/07, charlie farinella <[EMAIL PROTECTED]> wrote: > > I have a script which uses Net::FTP to upload a backup file each > > night. It sends me an email each night if it succeeds and a different > > email if any of the methods fail. This

Re: MAC and install CPAN

2007-04-30 Thread Tom Allison
Not to sound whiney (but I probably do and more so since I have a cold) but somewhere it would be nice if there was a Linux->Mac migration on some of this stuff. I haven't used Windows in 10 years @ home and picked up a Mac this weekend. I've just assumed that everything that is native on L

unit messages

2007-04-30 Thread oryann9
Please advise on the small amount of code b/c I am getting the message as below, but the code is working and output how I want it, just trying to rid of messages. thank you! Use of uninitialized value in concatenation (.) or string at JFS_version_parser.pl line 20, line 952 (#1) Use of uniniti

Re: MAC and install CPAN

2007-04-30 Thread Tom Allison
Installation of XCode *and* removing the CPAN configuration file * sudo rm /System/Library/Perl/5.8.6/CPAN/Config.pm did the trick. I'm now back in business.!! On Apr 30, 2007, at 12:27 PM, Jonathan Heard wrote: Have you installed the Developer Tools from Apple Developer Connection? http://con

Re: unit messages

2007-04-30 Thread Tom Phoenix
On 4/30/07, oryann9 <[EMAIL PROTECTED]> wrote: Use of uninitialized value in concatenation (.) or string at JFS_version_parser.pl line 20, line 952 (#1) This message happens because some value was undef instead of a string. From the message, it seems likely that it's a variable being interp

Re: unit messages

2007-04-30 Thread Chas Owens
On 4/30/07, oryann9 <[EMAIL PROTECTED]> wrote: snip my $regexp = qr/(host:\w+)|(onlinejfs.*)|(jfs\sversion.*)/is; snip Why are you creating this regex so far from where it is being used? Why are you using three captures when this expression can only return one? snip if (/$regexp/) {

Re: unit messages

2007-04-30 Thread John W. Krahn
oryann9 wrote: > Please advise on the small amount of code b/c I am > getting the message as below, but the code is working > and output how I want it, just trying to rid of > messages. > > thank you! > > > Use of uninitialized value in concatenation (.) or > string at > JFS_version_parser.pl li

Re: Mac::Carbon Bug

2007-04-30 Thread Jay Savage
On 4/30/07, Tom Allison <[EMAIL PROTECTED]> wrote: Can anyone provide details on if a workaround exists for the growing lists of defects for Mac::Carbon not being installable? Mac::Carbon 25075 24770 24841 File::HomeDir 25075 I'm in need of installing DBI on my MacBook. As a general practice I

Re: Mac::Carbon Bug

2007-04-30 Thread Tom Allison
Thanks. I didn't subscribe to [EMAIL PROTECTED] because it said it was for OS 9... On Apr 30, 2007, at 3:57 PM, Jay Savage wrote: On 4/30/07, Tom Allison <[EMAIL PROTECTED]> wrote: Can anyone provide details on if a workaround exists for the growing lists of defects for Mac::Carbon not being i

Re: Mac::Carbon Bug

2007-04-30 Thread Jay Savage
On 4/30/07, Tom Allison <[EMAIL PROTECTED]> wrote: Thanks. I didn't subscribe to [EMAIL PROTECTED] because it said it was for OS 9... I think your eyes skipped a line. macperl@ is for "classic"; macosx@ is for, well Mac OS X: http://lists.cpan.org/showlist.cgi?name=macosx HTH, -- Jay --