Re: Include command???

2002-09-02 Thread Dharmendra Rai
1. require PACKAGE_NAME; 2. use PACKAGE_NAME; 3. do "perl_file.pl"; 4. eval "cat perl_script_file.pl"; - Get a bigger mailbox -- choose a size that fits your needs.

socket network

2002-09-02 Thread anthony
Hi, I created that listen on a port on my website when i run the program. Now when it receives a data, It take the IP address and sends it a new message back to the computer on a different standard port(meaning both program are on the same port). Anyhow, the other program is on my computer no ser

Re: general confusion...

2002-09-02 Thread Jeff 'japhy' Pinyan
On Sep 2, Andrew Metcalfe said: >I'm a MS and Java developer, trying to debug some perl code. If you're not a Perl programmer, you'll probably have some difficulties. >my $self = { >LOCATION => { >USERNAME => $options{user_field} || 'username', >BILLING => $o

general confusion...

2002-09-02 Thread Andrew Metcalfe
I'm a MS and Java developer, trying to debug some perl code. I'm generally confused over a few syntax issues In the line: my $self = { LOCATION => { USERNAME => $options{user_field} || 'username', BILLING => $options{bill_field} || 'accounts',

Installing GD library

2002-09-02 Thread Ebaad Ahmed
Hi All, This is my first question since I have subscribed to the list, but I do have got very valuable info just by reading the messages posted, for which I'm very thankful. My question is that how can I install the GD libraries on my perl installation, I have downloaded the xpm, Gdlib, zlib and

question on cookies - pls help

2002-09-02 Thread Mariusz
How can I check if a user accepts cookies before he starts using my shoppingcart? I know I could set a cookie on page nr1 and then check if it exists on page nr2; but how do I know on which page he arrives first? thank you, Mariusz -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional co

Re: IO::Socket problem how to receive data?

2002-09-02 Thread anthony
Hi, I've read the perl doc but it was not usefull any how i fixed it, what i was trying to do is to send data from a Visual basic program to a perl program, then from perl to a visual basic program thanx anyways guys, Anthony -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

Monthly posting statistics - August 2002

2002-09-02 Thread Felix Geerinckx
Monthly posting statistics for perl.beginners - August 2002. >From 2002-08-01 to 2002-08-31 there were 1682 articles posted (76692 lines) by 305 authors, giving an average 5.51 articles per author, and an average article length of 46 lpa. The average number of articles per day was 54. There we

Weekly posting statistics - 35/2002

2002-09-02 Thread Felix Geerinckx
Weekly posting statistics for perl.beginners - week 35 of 2002. >From Monday 2002-08-26 to Sunday 2002-09-01 there were 361 articles posted (15689 lines) by 104 authors, giving an average 3.47 articles per author, and an average article length of 43 lpa. The average number of articles per day w

Re: IO::Socket problem how to receive data?

2002-09-02 Thread James Edward Gray II
I'm not sure I totally understand all of your question, but talking over an IO::Socket is pretty darn simple, if we're talking about a line oriented protocol. You can use what you have always used for Perl input and output: use IO::Socket::INET; my $socket = IO::Socket::INET->new( PeerAddr

Re: shell command

2002-09-02 Thread Ashutosh Jog
Hey, Have you tried system (convert -quality 40 image.jpg resampled_image.jpg); This might not be your best option, but its worth a shot. -Cheers. Tux wrote: > hey all, sorry if im asking a silly or stupid question, but i just CANT > seem to find anything on google/in books on how to do this

Include command???

2002-09-02 Thread Fernando Nati Ribeiro
In PHP, (web script), I attach a file with command: include("commom_functions.php"); How attach another program in perl? I use require or use??? I case positive, How to use require or use thanx.. Fernando Nati Ribeiro WebDeveloper - ES - BRAZIL - D

Re: IO::Socket problem how to receive data?

2002-09-02 Thread Felix Geerinckx
on Sun, 01 Sep 2002 15:15:27 GMT, [EMAIL PROTECTED] (Anthony) wrote: > I'm trying to learn IO::Socket and i have a little problem is that > i DO NOT know how to receive data i use the recv function but > doesn't work at all. [...] > But I can send data to a perl program but I don't know how to

Re: Locating columns based on headings

2002-09-02 Thread Felix Geerinckx
on Mon, 02 Sep 2002 13:15:56 GMT, [EMAIL PROTECTED] (Sl003b0462) wrote: > I have a csv file with column headings. As the file may be amended > and the columns reordered I wish to read the headings and > determine their location on each pass. How do I generate a list of > fixed headings and deter

Locating columns based on headings

2002-09-02 Thread sl003b0462
I have a csv file with column headings. As the file may be amended and the columns reordered I wish to read the headings and determine their location on each pass. How do I generate a list of fixed headings and determine their position, before extracting the corresponding field for each line.

Re: shell command

2002-09-02 Thread Sudarshan Raghavan
On 2 Sep 2002, tux wrote: > > > hey all, sorry if im asking a silly or stupid question, but i just CANT > seem to find anything on google/in books on how to do this, its slowly > make me go bald.. > > all im trying to do is run the shell command: > > convert -quality 40 image.jpg resampled_i

shell command

2002-09-02 Thread tux
hey all, sorry if im asking a silly or stupid question, but i just CANT seem to find anything on google/in books on how to do this, its slowly make me go bald.. all im trying to do is run the shell command: convert -quality 40 image.jpg resampled_image.jpg and basically im getting perl to lo

Re: locking a file in linux

2002-09-02 Thread Sudarshan Raghavan
On Mon, 2 Sep 2002, Ramprasad A Padmanabhan wrote: > Hi All, >I am writing an web application where multiple users may write into > the same file concurrently. Also there is a probability that there may > be an admin who has opened up the file in 'vi' and editing the file. > >I want to

Re: Skipping the UID above 60000

2002-09-02 Thread Ramprasad A Padmanabhan
But Why do you want the next available uid, If it was for adding a new user I would suggest You use /sbin/useradd command rather than attempting to write into passwd directly. I did this that mistake for one of my projects and find myselyf in a soup many a times Ram Anidil Rajendran wrote:

Re: How did perl -d find perldb.pl?

2002-09-02 Thread Felix Geerinckx
on Sun, 01 Sep 2002 15:37:59 GMT, [EMAIL PROTECTED] (Chris) wrote: > My question is > > How did perl -d manage to find perldb.pl? Have you read perldoc perldebug (especially the section on 'Debugger Customization')? -- felix -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

locking a file in linux

2002-09-02 Thread Ramprasad A Padmanabhan
Hi All, I am writing an web application where multiple users may write into the same file concurrently. Also there is a probability that there may be an admin who has opened up the file in 'vi' and editing the file. I want to avoid this concurrent multiple opens. I tried a range on perl