uploading fiels from one unix server to another server usin perl cgi script.

2004-02-02 Thread Nilay Puri, Noida
No takers ?? :( > Hi all, > > I have a task at hand , that of uplaoding file from server to another > server and also pass 6 paramteres along with the file. > > Basically, I have to replicate the functionality provided by CFHTTP tag of > COLD FUSION. > > I used LWP::UserAgent for the purpose.

Re: Need help sorting by specific fields in file.

2004-02-02 Thread R. Joseph Newton
"R. Joseph Newton" wrote: Correction inline. Forgot the start param for substr() > "Dennis G. Wicks" wrote: > > > Greetings; > > > > I have a file that I need to sort and currently I am just > > sorting it by > > > > @datalist = sort(@datalist); > > Try this: > > > @articles = sort {

Re: Need help sorting by specific fields in file.

2004-02-02 Thread R. Joseph Newton
"Dennis G. Wicks" wrote: > Greetings; > > I have a file that I need to sort and currently I am just > sorting it by > > @datalist = sort(@datalist); Try this: > @articles = sort {substr($a, 6) + 0 <=> substr($b, 6) + 0} > @files; > > but I can't figure out how to tell the sort that $

Re: WinXP copy-paste, was RE: A little help please?

2004-02-02 Thread R. Joseph Newton
Guay Jean-Sébastien wrote: > > [...] inclding copy-and-paste [though the XP version is > > intentionally more of a pain-in-the-ass than the > > W2K version, as with almost every professional > > aspect of the OS]. > > Err, not really sure what you mean by this. I have found it's precisely the > s

Re: splitting / unpacking line into array

2004-02-02 Thread John McKown
On Mon, 2 Feb 2004, Wiggins d Anconia wrote: > > Sounds pretty good to me. One concern, do the sub record types always > have the same number of fields? Using your array to unpack into may > turn into a maintenance nightmare with respect to indexing into it to > get values if the record formats

Re: tty settings

2004-02-02 Thread drieux
On Feb 2, 2004, at 3:21 PM, [EMAIL PROTECTED] wrote: [..] I am wanting to know if there is a way to disable users from breaking out of a perl script, specifically CNTRL C , D? [..] You might want to peek at say perldoc perlipc and work on a SIG handler for the signal that is sent to the perl c

tty settings

2004-02-02 Thread DBSMITH
Hello perl people I am wanting to know if there is a way to disable users from breaking out of a perl script, specifically CNTRL C , D? Hopefully it is just a one liner b/c I would also like to use this in KSH scripts. I will look in my learning perl book as well! thank you! Derek B. Sm

Re: splitting / unpacking line into array

2004-02-02 Thread Wiggins d Anconia
> I have an input file which has many subrecords. The subrecord type is > denoted by the first 4 characters of the file. The rest of the line is > formatted like similar to the way that "pack" would format one. That is, > each data point in a subtype is always at the same offset for the same >

splitting / unpacking line into array

2004-02-02 Thread John McKown
I have an input file which has many subrecords. The subrecord type is denoted by the first 4 characters of the file. The rest of the line is formatted like similar to the way that "pack" would format one. That is, each data point in a subtype is always at the same offset for the same length. E.

Re: Need help sorting by specific fields in file.

2004-02-02 Thread Eric Edwards
Dennis, Not to tell you how to run your business, but how is the date formatted in the array? It has been my experience in working with dates that they should be formatted as 20040202. This allows you to sort on years that are different. Eric - Original Message - From: "Dennis G.

Re: Need help sorting by specific fields in file.

2004-02-02 Thread Dennis G. Wicks
but how is the date formatted in > the array? > It has been my experience in working with dates that they should be > formatted as 20040202. This allows you to sort on years that are different. > Eric > - Original Message - > From: "Dennis G. Wicks" <[EMAIL PROT

Re: Need help sorting by specific fields in file.

2004-02-02 Thread James Edward Gray II
On Feb 2, 2004, at 1:49 PM, Dennis G. Wicks wrote: Greetings; I have a file that I need to sort and currently I am just sorting it by @datalist = sort(@datalist); Okay, but you're not sorting a file there. You're sorting an array. Maybe that array was loaded from a file, but we're dealin

Re: Need help sorting by specific fields in file.

2004-02-02 Thread Michael C. Davis
At 01:49 PM 2/2/04 -0600, Dennis G. Wicks wrote: >I have a file that I need to sort and currently I am just >sorting it by > > @datalist = sort(@datalist); > >but it will eventually have many more records and many of >them may be quite large, but I only need to sort on the >first six characte

Need help sorting by specific fields in file.

2004-02-02 Thread Dennis G. Wicks
Greetings; I have a file that I need to sort and currently I am just sorting it by @datalist = sort(@datalist); but it will eventually have many more records and many of them may be quite large, but I only need to sort on the first six characters which would be faster. Wouldn't it? I have

Re: upgrading perl to 5.6 from 5.005_03 question?

2004-02-02 Thread drieux
At 08:51 AM 2/2/04 -0800, Ravi Malghan wrote: Hello: I have perl 5.005_03 on solaris 2.8 which was installed with the OS. I would like to upgrade it to 5.6. Should I pkgrm the existing perl before I install the new perl ? or is there any other recommended way to upgrade. you might check with Sun, I

Re: upgrading perl to 5.6 from 5.005_03 question?

2004-02-02 Thread Rob Dixon
Anthony Esposito wrote: > > Instead of upgrading why not just install Perl 5.6 in a > separate directory..just a thought! Fine, unless you have several people writing software for your central core. Otherwise, obviously, they need to have a common version of Perl. Rob -- To unsubscribe, e

RE: upgrading perl to 5.6 from 5.005_03 question?

2004-02-02 Thread Esposito, Anthony
Instead of upgrading why not just install Perl 5.6 in a separate directory..just a thought! Tony Esposito Oracle Developer, Enterprise Business Intelligence XO Communications Plano, TX  75074 Work Phone: 972-516-5344 Work Cell: 972-670-6144 Email: [EMAIL PROTECTED] -Original Message--

Re: upgrading perl to 5.6 from 5.005_03 question?

2004-02-02 Thread Rob Dixon
Ravi Malghan wrote: > > I have perl 5.005_03 on solaris 2.8 which was > installed with the OS. I would like to upgrade it to > 5.6. Should I pkgrm the existing perl before I install > the new perl ? or is there any other recommended way > to upgrade. Hi Ravi. What do you mean by > Should I pkgrm

Re: (U) Oracle clustering on Linux/Intel based Platforms with a SAN ....

2004-02-02 Thread Michael C. Davis
I think it's easy to ignore a question that I'm not interested in, and I don't mind a wide variety of topics. However, a message that doesn't relate to Perl at all should at least have "OT" in the subject, especially for the sake of those who are offended by such things. At 06:17 PM 2/2/04 -,

Re: (U) Oracle clustering on Linux/Intel based Platforms with a SAN ....

2004-02-02 Thread James Edward Gray II
On Feb 2, 2004, at 11:42 AM, Johnson, Michael wrote: CLASSIFICATION: UNCLASSIFIED Just a very broad open question on anyone using this set up for their enterprise system. I am looking into setting something like this. I have seen much of the research so I am interesting in opinions and expe

Re: (U) Oracle clustering on Linux/Intel based Platforms with a SAN ....

2004-02-02 Thread Rob Dixon
Michael Johnson wrote: > > Just a very broad open question on anyone using this set up for their > enterprise system. I am looking into setting something like this. I have > seen much of the research so I am interesting in opinions and experience for > the responses. > > Any and all thoughts ar

Re: Perl 6

2004-02-02 Thread Dan Brow
Not looking for any specific features, just a little curious. On Mon, 2004-02-02 at 09:57, James Edward Gray II wrote: > On Feb 1, 2004, at 5:43 PM, Dan Brow wrote: > > > Any one know when perl 6 will be released for production use? > > Perl 6 is still largely in the design phase. > > However,

(U) Oracle clustering on Linux/Intel based Platforms with a SAN ....

2004-02-02 Thread Johnson, Michael
CLASSIFICATION: UNCLASSIFIED Just a very broad open question on anyone using this set up for their enterprise system. I am looking into setting something like this. I have seen much of the research so I am interesting in opinions and experience for the responses. Any and all thoughts are w

Re: upgrading perl to 5.6 from 5.005_03 question?

2004-02-02 Thread Michael C. Davis
Ravi, I just upgraded from 5.6 to 5.8.0, and I can tell you I am VERY happy that I left both perl installs intact, because it allowed me to compare the operation of my code under each version. If there was a difference in how my code worked, it was due to a change in the Perl version or my insta

Weekly list FAQ posting

2004-02-02 Thread casey
NAME beginners-faq - FAQ for the beginners mailing list 1 - Administriva 1.1 - I'm not subscribed - how do I subscribe? Send mail to <[EMAIL PROTECTED]> You can also specify your subscription email address by sending email to (assuming [EMAIL PROTECTED] is your email address):

upgrading perl to 5.6 from 5.005_03 question?

2004-02-02 Thread Ravi Malghan
Hello: I have perl 5.005_03 on solaris 2.8 which was installed with the OS. I would like to upgrade it to 5.6. Should I pkgrm the existing perl before I install the new perl ? or is there any other recommended way to upgrade. Thanks Ravi __ Do you Yahoo!? Yahoo! Si

Re: Perl 6

2004-02-02 Thread James Edward Gray II
On Feb 1, 2004, at 5:43 PM, Dan Brow wrote: Any one know when perl 6 will be released for production use? Perl 6 is still largely in the design phase. However, if you're looking for a certain functionality with Perl, are you sure Perl 5 doesn't do what you need? James -- To unsubscribe, e-mail

IPTC Captions

2004-02-02 Thread neill . taylor
I need to manipulate the IPTC captions within a jpeg using Perl. Is their a module or an easy way of doing this in Perl ? Thanks Neill IMPORTANT NOTICE This email (including any attachments) is meant only for the intended recipient. It may also contain confidential

WinXP copy-paste, was RE: A little help please?

2004-02-02 Thread Guay Jean-Sébastien
> [...] inclding copy-and-paste [though the XP version is > intentionally more of a pain-in-the-ass than the > W2K version, as with almost every professional > aspect of the OS]. Err, not really sure what you mean by this. I have found it's precisely the same in WinXP as in Win2k. Care to expl

RE: Perl 6

2004-02-02 Thread Thomas Bätzler
Dan Brow <[EMAIL PROTECTED]> > Any one know when perl 6 will be released for production use? I doubt anybody on this list will be able to give you anything else but "when it's done" as the answer. Thomas -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTEC

Re: where should perl create a file for user download?

2004-02-02 Thread Ramprasad A Padmanabhan
Timothy Driscoll wrote: greetings, I am writing a small perl script that takes user input via a Web form, writes a few files to my server, creates a zip archive that includes those files, and offers the user a link to download the zip file. I am running perl 5.8 on OS XS 10.3. can anyone offer so

Re: Perl 6

2004-02-02 Thread Ricardo SIGNES
* Dan Brow <[EMAIL PROTECTED]> [2004-02-01T18:43:15] > Any one know when perl 6 will be released for production use? No, no one knows. For production use, it is still years away. -- rjbs pgp0.pgp Description: PGP signature

Perl 6

2004-02-02 Thread Dan Brow
Any one know when perl 6 will be released for production use? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

where should perl create a file for user download?

2004-02-02 Thread timothy driscoll
greetings, I am writing a small perl script that takes user input via a Web form, writes a few files to my server, creates a zip archive that includes those files, and offers the user a link to download the zip file. I am running perl 5.8 on OS XS 10.3. can anyone offer some expert advice concer

Re: Different results Command Line/CGI

2004-02-02 Thread Ramprasad A Padmanabhan
Owen wrote: I have this script stolen and modified from somewhere #!/usr/bin/perl -w use strict; use File::Find; print "Content-type: text/html\n\n"; my $u=shift; my $sizes = 0; # replace this with your absolute path my $path = "/home/$u/"; find (sub {$sizes += -s ;}, $path); print "$sizes\n"; I