Re: [solved but..] Push first 9 elements

2003-07-30 Thread Pablo Fischer
Ohh I found Just to change the 8 to 1, and Im going to use one of each one, not 9 by 9. for($i=0; $i<($#archivo-2); $i++) { push @lista_final, splice(@correos_p, 0, 1); push @lista_final, splice(@correos_h, 0, 1); push @lista_final, splice(@correos_y, 0, 1); push @lista_fi

Re: Can't figure out this warning.

2003-07-30 Thread Sudarshan Raghavan
Sachin Hegde wrote: Hi, There is this warning which I can't remove : Illegal hexadecimal digit ' ' ignored at test.pl line 131, line 23. It is the newline at the end test.pl is the name of the program while FH is a file handle(read only). Part of my code is: <129> $ln = ; <130> @f

can't open dbm file - no space left on device

2003-07-30 Thread Katy Brownfield
I'm modifying an existing script that has been moved to a new domain and a new ISP. It opens a DBM file like this dbmopen %fileinfo, "../data/fileinfo", 0644 or die "cannot open fileinfo: $!\n"; This fails intermittently with [Thu Jul 31 00:46:16 2003] [error] [client 53.259.56.55] cannot op

Re: [solved but..] Push first 9 elements

2003-07-30 Thread Pablo Fischer
Thanks Steve! > for (whatever) { > push @lista_final, splice(@correos_p, 0, 8); > push @lista_final, splice(@correos_h, 0, 8); > push @lista_final, splice(@correos_y, 0, 8); > # etc... > } Thanks! Now my 'for' works very fast. Howerver, I could like to know.. for($

Can't figure out this warning.

2003-07-30 Thread Sachin Hegde
Hi, There is this warning which I can't remove : Illegal hexadecimal digit ' ' ignored at test.pl line 131, line 23. test.pl is the name of the program while FH is a file handle(read only). Part of my code is: <129> $ln = ; <130> @flds = split(/ /,$ln); <131> if($flds[5] =~ /[a-zA-Z]

Re: [solved but..] Push first 9 elements

2003-07-30 Thread Steve Grazzini
On Thu, Jul 31, 2003 at 12:17:10AM +, Pablo Fischer wrote: > Hi! I solved it: > > for($i=0; $i<($#archivo-2); $i++) { > #print "FSF\n"; > for($j=0; $j<9; $j++) { > push(@lista_final, $correos_p[$j]); > push(@lista_final, $correos_h[$j]); > push(@lista_final, $correos_

Re: [solved but..] Push first 9 elements

2003-07-30 Thread Pablo Fischer
Hi! I solved it: for($i=0; $i<($#archivo-2); $i++) { #print "FSF\n"; for($j=0; $j<9; $j++) { push(@lista_final, $correos_p[$j]); push(@lista_final, $correos_h[$j]); push(@lista_final, $correos_y[$j]); push(@lista_final, $correos_l[$j]); push(@lista_f

Re: Push first 9 elements

2003-07-30 Thread Pablo Fischer
Hi again; Sorry I forgot to said that when I finish to take the first 9 elements of arr7, I need to restart in the ARr1. thats Why I need to remove those elements. Thanks! El día Wednesday 30 July 2003 11:09 a Pablo Fischer mandó el siguiente correo: > Hi! > > I need to make an array of 3000 e

Push first 9 elements

2003-07-30 Thread Pablo Fischer
Hi! I need to make an array of 3000 elements, I have 7 arrays (sub-arrays?). I need to do this: Take first 9 of Arr1, push them to the BIG ARRAY and remove this 9 from the 'subarray' Take first 9 of Arr2, push them to the BIG ARRAY and remove this 9 from the 'subarray' Take First 9 of Arr3, pu

Re: Printing an Array

2003-07-30 Thread Josimar Nunes de Oliveira
Hi, Pablo, you should write this at line of IF command: if($count>0 && $count<$#archivo) { I hope you get the right thing you want. Bye, Josimar - Original Message - From: "Pablo Fischer" <[EMAIL PROTECTED]> To: "Perl Beginners" <[EMAIL PROTECTED]> Sent: Wednesday, July 30, 2003

Re: installing perl mod's

2003-07-30 Thread Wiggins d'Anconia
Hodge, Jeff F (ECIII) wrote: I'm having trouble installing certain modules...they bomb out during the make processsee attachments. perl -MCPAN -e 'install Apache::Cookie' perl -MCPAN -e 'install DBD::mysql' This should work other modules where installed and work fine using the same methodolo

Re: Printing an Array

2003-07-30 Thread Pablo Fischer
Solved; Another case of buffering, the right code: foreach $i (@archivo) { #Dont count the first and last line if($count>$size || $count<$size) { ($correo, $clave, $nombre, $registro, $id, $sexo, $password) = split(/\|/, $i); ($user, $host) = split(/\@/, $correo);

Printing an Array

2003-07-30 Thread Pablo Fischer
Hi! I have an array (@archivo), and each line has pipes (|), so Im using split, but Im using 'sleep 1' to make it 'slower' so I can see line by line. foreach $i (@archivo) { #Dont count the first and last line if($count>$size || $count<$size) { chomp($i); ($correo, $clav

Re: I'm a Nebie to PERL

2003-07-30 Thread Li Ngok Lam
- Original Message - From: "Rob Dixon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 31, 2003 5:44 AM Subject: Re: I'm a Nebie to PERL [snap] > > > It ran and just listed the contents of the helloworld.pl file. PERL ran but > > > the .pl program didn't. > > > > > > A

Re: Help with Formatting

2003-07-30 Thread Mame Mbodji
Thanks a lot . david wrote: [EMAIL PROTECTED] wrote: Hello All: I am trying to format a check. Everything is fine except I cannot print the line box surrounding the check items: +---+ | | | | +---

perl/Tk

2003-07-30 Thread Frank B. Ehrenfried
I have downloaded the perl/tk module Tk804.02 from CPAN.ORG. I've unzipped and untarred it and placed it and it sub-directories uner "/". But my perl script can not find it. I get the response "Cann't locate Tk.pm in @INC". What to do?

installing perl mod's

2003-07-30 Thread Hodge, Jeff F (ECIII)
Title: installing perl mod's I'm having trouble installing certain modules...they bomb out during the make processsee attachments.  perl -MCPAN -e 'install Apache::Cookie' perl -MCPAN -e 'install DBD::mysql' This should work other modules where installed and work fine using the sam

Reg. Exp. to find dir. question

2003-07-30 Thread Quenten Griffith
Hello all I have a script that reads in a control file that list a dir. to change to inside the control file I have Dir: /cf/courseware The part of the Perl script that I run to pull in that info is # Open the control file or log my $control_file= "/home/qgriff/FTP.CTL"; unless ( open CTL, $con

Re: I'm a Nebie to PERL

2003-07-30 Thread Rob Dixon
Li Ngok Lam wrote: > KENNETH JANUSZ wrote: > > > > Platform: DELL 8200 with XP Prof. SP1 and Oracle 9.2 with the test DB. > > > > I'm new to PERL and need some guidance on getting to run on my PC. The PERL > > files were installed when I implemented Oracle 9.2. I didn't add any other > > code. >

Re: Thumb-nailing Pic's

2003-07-30 Thread Ramon Chavez
The technique I described is useful only if you don't care what part of the image is being thrown away. In my case it doesn't matter too much. I mean, it doesn't really affect to me. But. Let's just say you have horizontal and vertical images taken with you digital camera (in my case), and you hae

Re: Help with Formatting

2003-07-30 Thread david
[EMAIL PROTECTED] wrote: > Hello All: > > I am trying to format a check. Everything is fine except I cannot print > the line box surrounding the check items: > > +---+ > | | > | | > +---+ > > How

CVS and Perl

2003-07-30 Thread denis
Anyone using perl to access CVS? The CVS repository I need to access does not allow anonymous or just plain read-only access, So I need to hard code a username and password. Yuk.. Anyone have any idea's to get around this with perl? Thanks Denis -- To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: stipping away text below -----Original Message-----

2003-07-30 Thread Rob Dixon
Joon Hahn wrote: > The incoming mailbox or reply to mailbox is an exchange mailbox. > Can I even use perl if it's coming through an exchange box? Not unless MS Exchange has OLE (ActiveX) capabilities, which it probably has but I can't be sure. There are OLE modules in CPAN, but I don't know if the

RE: Zip archives

2003-07-30 Thread Dan Muey
> Dan Muey wrote: > > > Dan Muey wrote: > > > > I'm looking at Archive::Zip to extract a single text file > > > from a zip > > > > file that is ftped from a winders box to a unix box. > > > > > > > > The zip file conatins only one file, a .txt file, that is > > > compressed > > > > pretty well. (ab

RE: Zip archives

2003-07-30 Thread Dan Muey
> Dan Muey wrote: > > > > Or would this be right for grabbing a certain file fomr a > multi file > > zip archive: (long variable names are just for descriptive purposes > > ;p) > > > > for($zip->members) { > > if($_->fileName =~ $filenameinzipiwanttograb) { > > $_->extractToFileNamed($filenameiw

Re: Zip archives

2003-07-30 Thread Rob Dixon
Dan Muey wrote: > > Or would this be right for grabbing a certain file fomr a multi file zip archive: > (long variable names are just for descriptive purposes ;p) > > for($zip->members) { > if($_->fileName =~ $filenameinzipiwanttograb) { > $_->extractToFileNamed($filenameiwanttocreathere) or die 'e

RE: Zip archives

2003-07-30 Thread Dan Muey
> > Dan Muey wrote: > > > I'm looking at Archive::Zip to extract a single text file > > from a zip > > > file that is ftped from a winders box to a unix box. > > > > > > The zip file conatins only one file, a .txt file, that is > > compressed > > > pretty well. (about 170 MB regular 18MB zipped up)

Re: Zip archives

2003-07-30 Thread Rob Dixon
Dan Muey wrote: > > Dan Muey wrote: > > > I'm looking at Archive::Zip to extract a single text file > > from a zip > > > file that is ftped from a winders box to a unix box. > > > > > > The zip file conatins only one file, a .txt file, that is > > compressed > > > pretty well. (about 170 MB regular

Re: Zip archives

2003-07-30 Thread Pablo Fischer
El día Wednesday 30 July 2003 6:45 a Dan Muey mandó el siguiente correo: > I guess I'm a bit lost as to where $this->{WHATEVERS} gets created and > where and how you call descomprimir_zip(); All its a class that I made. > All I need to do is extract one file from one zip file > into one text file

RE: Zip archives

2003-07-30 Thread Dan Muey
> > Any pointers/ideas/experience about how to do that? > > Hi Dan. > > The program below is the very basic stuff to do what you > want. It does no error checking except to make sure that the > zip file opened OK, and just extracts the first file in the > archive with to a file with a name pre

RE: Zip archives

2003-07-30 Thread Dan Muey
> Dan Muey wrote: > > I'm looking at Archive::Zip to extract a single text file > from a zip > > file that is ftped from a winders box to a unix box. > > > > The zip file conatins only one file, a .txt file, that is > compressed > > pretty well. (about 170 MB regular 18MB zipped up) > > > > Dat

RE: Zip archives

2003-07-30 Thread Dan Muey
> Hi! Howdy! > > Im gonan try to help you, cause Im doing the same. Getting > certain files from > a FTP Server, saving them in a directory already defined, > unziping them in a > temp directory, parsing the file (thanks to all the list), > and saving some > data to a MySql DataBase. Coo

Re: Zip archives

2003-07-30 Thread Rob Dixon
Dan Muey wrote: > I'm looking at Archive::Zip to extract a single text file from a zip file that is > ftped from a winders box to a unix box. > > The zip file conatins only one file, a .txt file, that is compressed pretty well. > (about 170 MB regular 18MB zipped up) > > Data.txt is apx 170MB > Da

RE: stipping away text below -----Original Message-----

2003-07-30 Thread Joon Hahn
The incoming mailbox or reply to mailbox is an exchange mailbox. Can I even use perl if it's coming through an exchange box? Joon -Original Message- From: Rob Dixon [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 11:20 AM To: [EMAIL PROTECTED] Subject: Re: stipping away text be

Re: Zip archives

2003-07-30 Thread Pablo Fischer
Hi! Im gonan try to help you, cause Im doing the same. Getting certain files from a FTP Server, saving them in a directory already defined, unziping them in a temp directory, parsing the file (thanks to all the list), and saving some data to a MySql DataBase. > Data.txt is apx 170MB > Data.tx

Re: stipping away text below -----Original Message-----

2003-07-30 Thread Rob Dixon
Joon Hahn wrote: > Hello all, > > I was wondering if somebody out there had a perl script that would delete everything > below > > -Original Message- > > in an email? I have a workflow engine which grabs the entire body of an email an > updates a worklog. The problem is it grabs the > w

Re: sprintf and wanting NO leading zero on a decimal less than 1( ie, .15 prints as .15 and not 0.15)

2003-07-30 Thread Rob Dixon
Rob Hanson wrote: > > I am trying to get .15 and end up with 0.15. > > I don't believe that ".15" is a valid floating point value, I think there > always has to be at least one digit to the left of the decimal... so the "f" > format won't help. perl -e "print .15" OUTPUT 0.15 :) Rob --

Re: sprintf and wanting NO leading zero on a decimal less than 1(ie, .15 prints as .15 and not 0.15)

2003-07-30 Thread Rob Dixon
David --- Senior Programmer Analyst --- Wgo Wagner wrote: > I am trying to get .15 and end up with 0.15. I have tried a number of combinations > of sprintf and %f. > > sprintf "%.2f" > sprintf "%2.2f" > sprintf "% .2f" > sprintf "% 2.f" > > and I always get a 0.15. > > Do I just remove with a reg

Zip archives

2003-07-30 Thread Dan Muey
I'm looking at Archive::Zip to extract a single text file from a zip file that is ftped from a winders box to a unix box. The zip file conatins only one file, a .txt file, that is compressed pretty well. (about 170 MB regular 18MB zipped up) Data.txt is apx 170MB Data.txt is zipped into 'data.z

Re: Problems with File::Find stopping on directory with space in name RESOLVED (sort of)

2003-07-30 Thread Rob Dixon
Rob Dixon wrote: > "Kevin Zembower" wrote: > > Rob, John, Bob, thanks for all your help and suggestions. I took Rob's suggestion > > and copied all the contents onto my hard drive: > > > > [snip] > > > > Then, I edited, listed and ran the program: > > [EMAIL PROTECTED]:~/RapheTask$ cat ./processAVi

RE: Help with Formatting

2003-07-30 Thread Levon Barker
Hello, lets see some code. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 29, 2003 9:38 PM > To: [EMAIL PROTECTED] > Subject: Help with Formatting > > > Hello All: > > I am trying to format a check. Everything is fine except I cannot > pr

RE: stripping away text below -----Original Message-----

2003-07-30 Thread bseel
You could probably do: $email =~ /^(.*)-Original Message-/; Then $1 would have your text, I am not sure if it will keep the line breaks or not, but you can play with that a little. Brian Seel HS Intern -Original Message- From: Joon Hahn [mailto:[EMAIL PROTECTED] Sent: Wednesda

Re: How to read multiple files in the same time ?

2003-07-30 Thread LI NGOK LAM
Not really have any new ideas, I still using looping process to get job done. But I have a new direction for this but still digging. ( feel chocking just really like mining ;-) ) perldoc -f fork perldoc -f pipe perldoc -m Thread perldoc perlipc HTH - Original Message - From:

stipping away text below -----Original Message-----

2003-07-30 Thread Joon Hahn
Hello all, I was wondering if somebody out there had a perl script that would delete everything below -Original Message- in an email? I have a workflow engine which grabs the entire body of an email an updates a worklog. The problem is it grabs the whole email instead of just the

RE: sprintf and wanting NO leading zero on a decimal less than 1( ie, .15 prints as .15 and not 0.15)

2003-07-30 Thread Hanson, Rob
> I am trying to get .15 and end up with 0.15. I don't believe that ".15" is a valid floating point value, I think there always has to be at least one digit to the left of the decimal... so the "f" format won't help. Using a regex might be the easiest way to solve the problem since I don't know t

Re: How to read multiple files in the same time ?

2003-07-30 Thread Daniela Silva - Absoluta.net
Hi, I want to do something similar, read multiple files and extract some piece of readed lines for a file or screen, to generate te output file could be used unix redirection. Do you have new ideas how to work with multiple files ? Thanxs - Original Message - From: "LI NGOK LAM" <[EMAI

sprintf and wanting NO leading zero on a decimal less than 1(ie, .15 prints as .15 and not 0.15)

2003-07-30 Thread Wagner, David --- Senior Programmer Analyst --- WGO
I am trying to get .15 and end up with 0.15. I have tried a number of combinations of sprintf and %f. sprintf "%.2f" sprintf "%2.2f" sprintf "% .2f" sprintf "% 2.f" and I always get a 0.15. Do I just remove with a regex or am I missing s

Re: I'm a Nebie to PERL

2003-07-30 Thread LI NGOK LAM
First, your Perl is not a complete version of Perl. You just have the compiler of Perl. You almostly missed some very important modules such as strict, warnings, CGI..etc. And second, your Perl is out of dated. for Win32 OS, Perl is up to 5.8.0 now. So go to http://www.activestate.com/Products

RE: I'm a Nebie to PERL

2003-07-30 Thread Hanson, Rob
> It ran and just listed the contents of the > helloworld.pl file. PERL ran but the .pl > program didn't. Are you sure it didn't run? You said it was under the "default-web-app" directory, so probably all it does is print a bunch of stuff to the console (or browser). Did you look at the code?

RE: Round/sprintf

2003-07-30 Thread Dan Muey
> It was Wednesday, July 30, 2003 when Dan Muey took the soap > box, saying: > : > : If I have a number like so: > : 5.8592675 > : > : I need to make it a x.xx instead of x.x and I need > to round it up to the next hundredth like so : 5.86 > : > : I can't seem to remember the round ty

Re: Round/sprintf

2003-07-30 Thread Casey West
It was Wednesday, July 30, 2003 when Dan Muey took the soap box, saying: : : If I have a number like so: : 5.8592675 : : I need to make it a x.xx instead of x.x and I need to round it up to the next hundredth like so : 5.86 : : I can't seem to remember the round type functions name and

RE: fixed length records and MQ

2003-07-30 Thread McDevitt, Chris
Hello... [snip] -Original Message- From: Raghupathy [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 11:03 AM To: [EMAIL PROTECTED] Subject: fixed length records and MQ Hi All, I need to unload data from sybase and output it as fixed length records into a MQ using perl. 1) Is

Round/sprintf

2003-07-30 Thread Dan Muey
If I have a number like so: 5.8592675 I need to make it a x.xx instead of x.x and I need to round it up to the next hundredth like so : 5.86 I can't seem to remember the round type functions name and am always screwy with sprintf. What combo of sprintf() and round() or whatever would

I'm a Nebie to PERL

2003-07-30 Thread KENNETH JANUSZ
Platform: DELL 8200 with XP Prof. SP1 and Oracle 9.2 with the test DB. I'm new to PERL and need some guidance on getting to run on my PC. The PERL files were installed when I implemented Oracle 9.2. I didn't add any other code. My PERL files are located at: C:\oracle\ora92\Apache\perl\5.0050

Re: Problems with File::Find stopping on directory with space in name RESOLVED (sort of)

2003-07-30 Thread Rob Dixon
"Kevin Zembower" wrote: > Rob, John, Bob, thanks for all your help and suggestions. I took Rob's suggestion > and copied all the contents onto my hard drive: > > [snip] > > Then, I edited, listed and ran the program: > [EMAIL PROTECTED]:~/RapheTask$ cat ./processAVimages.pl > #! /usr/bin/perl -w >

Re: Pipe Delimited File

2003-07-30 Thread Rob Dixon
Sorry - some spelling mistakes there: "Rob Dixon" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Pablo Fischer wrote: > > Thanks!!! > > > > That's what I was looking for! > > > > Yep, the file has a single record, It works, thanks! > > > > Now looking your code, the difference its

Re: Pipe Delimited File

2003-07-30 Thread Rob Dixon
Pablo Fischer wrote: > Thanks!!! > > That's what I was looking for! > > Yep, the file has a single record, It works, thanks! > > Now looking your code, the difference its the local $/. What does local $/ its > doing? The scalar $/ is a perdefined variable which is the 'input record separator'. It

RE: Mime::Parser starter

2003-07-30 Thread Stephen Gilbert
-Original Message- From: awarsd [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 8:06 AM To: [EMAIL PROTECTED] Subject: Mime::Parser starter Hi, i just need someone to guide me please I'm retrieving from my host email(with attachment) using Net::Pop3 I print the message conten

RE: ? thinger

2003-07-30 Thread NYIMI Jose (BMB)
"Knowledge is of two kinds. We know a subject ourselves, or we know where we can find information on it." Samuel Johnson (1709 - 1784) There are a lot of info from perldoc. Type C:\>perldoc perldoc To learn how to use perldoc ;) José. -Original Message- From: [EMAIL PROTECTED] [mailto:[E

RE: ? thinger

2003-07-30 Thread NYIMI Jose (BMB)
The following command line will give you the text: C:\>perldoc perlop I have pasted here the relevant section for you : Conditional Operator Ternary "?:" is the conditional operator, just as in C. It works much like an if-then-else. If the argument before the ? is true, the argument befo

Re: Help please - still not understanding references I think...

2003-07-30 Thread Tim Musson
Thanks Peter!, PS> That's because you missed out the next line, where the value from PS> (the equivalent of) @$valref{cn} is dereferenced again with PS> @$attrVal. PS> I don't know why the dereferencing is done in the example with PS> @$valref{$attrName}; that's needlessly complicated (single el

RE: ? thinger

2003-07-30 Thread NYIMI Jose (BMB)
Have a look to this : http://www.perldoc.com/perl5.8.0/pod/perlop.html#Conditional-Operator HTH, José. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 5:06 PM To: [EMAIL PROTECTED] Subject: ? thinger I have been noticing the ? used

? thinger

2003-07-30 Thread bseel
I have been noticing the ? used quite a bit, and I don't know what it does. I know in regular expressions it means "0 or 1" but what about in a time like: for my $op ( "and", "or ", "xor" ) { print "0 $op 0 ", eval "0 $op 0" ? "TRUE" : "FALSE"; print "0 $op 1 ", eval "0 $op 1" ? "TRUE" :

fixed length records and MQ

2003-07-30 Thread Raghupathy
Hi All, I need to unload data from sybase and output it as fixed length records into a MQ using perl. 1) Is is possible to write to MQ using perl ? 2) If I need to write out the fixed length records, do I have to format each field using "sprintf" function ? Are there any other alternatives ?

RE: Deep Copy

2003-07-30 Thread bseel
Thanks for all of your help! I got it with the module, but I am going to play with some of that code now :). Thanks for all of your help. Brian Seel High School Intern Micron Technology [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECT

Re: Help please - still not understanding references I think...

2003-07-30 Thread Peter Scott
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Tim Musson) writes: >Hey all, > > I am using the perl-ldap module (to access MS AD, not that that > matters to this question though :-). > > My problem is I don't understand part of the example code - it all > works just fine, but using th

Re: Thumb-nailing Pic's

2003-07-30 Thread Randal L. Schwartz
> "Ramon" == Ramon Chavez <[EMAIL PROTECTED]> writes: Ramon> I meant that this program cuts rectangles from the original Ramon> images, all of them with the same proportions. Like if you were Ramon> cutting cookies from the paste for baking (lol). It then Ramon> resizes all the resulting image

Problems with File::Find stopping on directory with space in name RESOLVED (sort of)

2003-07-30 Thread KEVIN ZEMBOWER
Rob, John, Bob, thanks for all your help and suggestions. I took Rob's suggestion and copied all the contents onto my hard drive: [EMAIL PROTECTED]:~/RapheTask$ mkdir cd [EMAIL PROTECTED]:~/RapheTask$ cp -aRv /cdrom cd/ `/cdrom' -> `cd/cdrom' `/cdrom/JPEG Covers' -> `cd/cdrom/JPEG Covers' `/cdro

RE: Help please - still not understanding references I think...

2003-07-30 Thread NYIMI Jose (BMB)
use Data::Dumper; print Dumper($ref); -Original Message- From: Tim Musson [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 3:40 PM To: [EMAIL PROTECTED] Subject: Re: Help please - still not understanding references I think... Hey bseel, My MUA believes you used to wri

Re: Help please - still not understanding references I think...

2003-07-30 Thread Tim Musson
Hey bseel, My MUA believes you used to write the following on Wednesday, July 30, 2003 at 9:38:08 AM. >>> I was thinking (and the documents say) these are references, but I >>> have had a hard time getting my head around references... >>> >>> I have tried adding this >>> pri

RE: Help please - still not understanding references I think...

2003-07-30 Thread bseel
[Snipped] >> I was thinking (and the documents say) these are references, but I >> have had a hard time getting my head around references... >> >> I have tried adding this >> print @$valref{cn}; >> but all it prints is >> ARRAY(0x25d9ec4) >> and I want it to print the value o

Help please - still not understanding references I think...

2003-07-30 Thread Tim Musson
Hey all, I am using the perl-ldap module (to access MS AD, not that that matters to this question though :-). My problem is I don't understand part of the example code - it all works just fine, but using the "as_struct" method, I need to just display the "cn" attribute (I need to w

RE: Help with Formatting

2003-07-30 Thread mmbodji
print"Please enter first name:\n"; chomp($first = ) print"Enter a last name:\n"; chomp($last = ); format = STDOUT +--- |@ |$first |@ |$last +--- . > Hello, lets see some code. > > > -Orig

Mime::Parser starter

2003-07-30 Thread awarsd
Hi, i just need someone to guide me please I'm retrieving from my host email(with attachment) using Net::Pop3 I print the message content- where we can see Charsert ="iso-8869-1" --- =_NextPart_001 to, subject etc now i see on the bottom of this message Content-type: image/gif;

RE: Deep Copy

2003-07-30 Thread NYIMI Jose (BMB)
There is also a good article on the topic at http://www.stonehenge.com/merlyn/UnixReview/col30.html Now, this simple deep_copy routine will break if there are recursive data pointers (references that point to already seen data higher in the tree). For that, you might look at the dclone method o