Re: Strings??? Sub???

2004-06-20 Thread Gunnar Hjalmarsson
Charlene Gentle wrote: I need a example of how to receive a string (after someone entered a name for a txt file into a tk-box). It has to do the following : 1. Send the string to a sub 2. The sub should save the txt file for later use. 3. The file should show in a message box that it has been save

Strings??? Sub???

2004-06-20 Thread Charlene Gentle
Hi I need a example of how to receive a string (after someone entered a name for a txt file into a tk-box). It has to do the following : 1. Send the string to a sub 2. The sub should save the txt file for later use. 3. The file should show in a message box that it has been saved. 1. If I use a

Re: Perl hosting

2004-06-20 Thread LRMK
Try making a search in www.Clickherefree.com by the way if you are looking for paid hosting there are plenti of places here are few www.whm-host.com www.4webh.com www.netfirms.com LRMK - Original Message - From: "Ziggy" <[EMAIL PROTECTED]> To: "L:Perl-Beginners" <[EMAIL PROTECTED]> Se

Re: modules

2004-06-20 Thread LRMK
I think so I am using Perl 5.8 and I never installed those modules manualy, but my scripts which uses those modules work just fine that means they comes with Perl. LRMK - Original Message - From: "aditi gupta" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, June 19, 2004 7:46

Re: Why are timelocal() and localtime() not exactly opposite?

2004-06-20 Thread Gunnar Hjalmarsson
Zeus Odin wrote: use Time::Local; # localtime cannot handle year 1903, but timelocal can print scalar timelocal(0,0,0, 31, 11, 2003), "\n"; print scalar timelocal(0,0,0, 31, 11, 1903), "\n"; print scalar localtime timelocal(0,0,0, 31, 11, 2003), "\n"; print scalar localtime timelocal(0,0,0, 31, 11,

Why are timelocal() and localtime() not exactly opposite?

2004-06-20 Thread Zeus Odin
Hello, group! It is, like all other days, a great day to be a Perl programmer. Can anyone shed some light on the following? #!/usr/bin/perl use warnings; use strict; use Time::Local; # localtime cannot handle year 1903, but timelocal can print scalar timelocal(0,0,0, 31, 11, 2003), "\n"; print s

Perl and Kdevelop

2004-06-20 Thread renzo rizzato
Hallo to all, I am trying to use per for my simple needs, quite successfully, I can state. I do this from Linux platform, wich give me a nice GUI: Kdevelop; here comes the problem, when I try to use Kdevelop, it says that Perl is not installed, wich seems strange to me, since I use it for my scr

Re: nested foreach not looping properly

2004-06-20 Thread Gunnar Hjalmarsson
Mike Re-V wrote: The following code iterates unexpectedly. I want to loop thru the file 'file.dat' and pull out every field that begins with 650. The code then pulls the 650 field and builds an array from the sub-fields. The code works but I'm stuck on the first record. In other words if the file I

nested foreach not looping properly

2004-06-20 Thread mike re-v
hi, The following code iterates unexpectedly. I want to loop thru the file 'file.dat' and pull out every field that begins with 650. The code then pulls the 650 field and builds an array from the sub-fields. The code works but I'm stuck on the first record. In other words if the file I'm reading h

Manage Oracle Archivelogs

2004-06-20 Thread BERTHOLD Jean
Hi,   I need to apply archivelogs on a standby database using perl script Can you help me to find the correct syntax to execute the following sql command using the DBD::Oracle module ?     sqlplus /nolog connect / as sysdba ; RECOVER STANDBY DATABASE AUTO exit ;     I need to validate the

Re: getting online information....

2004-06-20 Thread aditi gupta
Note: forwarded message attached. Yahoo! India Matrimony: Find your partner online.--- Begin Message --- hi zeus, well sorry for bothering you againbut i didn't understand the following line inthe code that you send:   my ($link) = =~ m|href="">|;   please explain it thank you, r

RE: Adding Arrays as Hash Keys

2004-06-20 Thread Tim Johnson
I'm a little hesitant to offer an answer because I'm not sure what you mean, but I'll give it a shot so that you have a chance to clarify if I'm way off. It's possible that what you want is a hash of arrays, where each hash key points to a different array. If so, then what you would want would

Re: Variables in qw?

2004-06-20 Thread John W. Krahn
Gohaku wrote: > > Hi everyone, Hello, > I was just curious if there is someway to add a variable when using qw. > I am trying to do the following: > #Testing qw > $string_variable = "abc"; > @array = qw( string_literal1 string_literal2 $string_variable ) > print join(" ",@array); > #Would li

Re: Ways to Sort Returned Array?

2004-06-20 Thread Gunnar Hjalmarsson
Gohaku wrote: I am trying to sort an array returned by a subroutine. No, you are not. You are trying to sort a list returned by a subroutine. I would like to know why sort doesn't work on a Returned Array and why the returned array has to be parenthesized. #sortarray.pl print join("\n",sort arrayte

Re: Adding Arrays as Hash Keys

2004-06-20 Thread John W. Krahn
Gohaku wrote: > > Hello everyone, Hello, > I would like to know if there is a cleaner way of Merging Hash Keys > with Arrays > and what the correct terminology is for describing this merging. > I find the syntax somewhat confusing since @ usually refers to an Array or a slice. Lookup the word

Re: Ways to Sort Returned Array?

2004-06-20 Thread John W. Krahn
Gohaku wrote: > > Hello everyone, Hello, > I am trying to sort an array returned by a subroutine. Perl's subroutines return a list. > I realize it would be better if the subroutine returns > a Sorted Array instead of Sorting the Returned Array, however > I would like to know why sort doesn't w