Re: Scoping

2002-06-29 Thread drieux
On Friday, June 28, 2002, at 01:30 , Octavian Rasnita wrote: [..] The canonical Answer is up at: http://perl.plover.com/FAQs/Namespaces.html for the bored try the home version silly alternative: http://www.wetware.com/drieux/CS/Proj/GlobalGame/ what one wants to do is protect

Accepting cookies with LWP?

2002-06-29 Thread Octavian Rasnita
Hi all, I've tried to get a web page with the following line: use LWP::Simple; my $page = get($path); The problem is that LWP gets another page telling me that I should login or I should enable my browser to accept cookies. What should I do to make LWP to accept cookies? Is it possible with

Advanced Users in The Beginners List

2002-06-29 Thread Yasen Petrov
Hi there, I think there's too many andvanced users here who ask DBI questions. I can't understand anything. Perl.beginners and perl.beginners.cgi are both too overloaded. Noone can read 80 massages a day, in it? I mean perl.beginners. There should be perl.intermediate as well as perl.advanced.

Use of uninitialized value

2002-06-29 Thread Dan Fish
Correct if I'm wrong, but I think I understand the following warning means I'm trying to make use of an empty or undef variable, but if the problem isn't obvious, how do I find it? and what does the chunk # mean? Use of uninitialized value at MMC/Online_Entry.pm line 47, INFILE chunk 541.

Perl on Linux and Windows XP

2002-06-29 Thread bss96kci
Hello there! I wrote a script which I tested on Linux and Windows XP. The following code works differently on the OS. $path = /data/../dir/Sound $filename = $query-param('filename'); open(DIR,$path/$filename); binmode(DIR); print DIR $_; close (DIR); On Linux, instead of the $filename being

Re: Advanced Users in The Beginners List

2002-06-29 Thread George Thomas
Good point, Ovid. Consider too that if one excludes the experienced programmer, many questions will go unanswered or may be answered incompletely or incorrectly. The coders with the experience have seen most of it and know quite a few tricks. They are an invaluable resource. I wouldn't want

RE: Advanced Users in The Beginners List

2002-06-29 Thread Dan Fish
Perhaps we need a new module, PERLLIST::PARSE, that parses the incoming message and prefixes a category to the subject line so we can set up incoming mail filters to automatically dispose of 'dis'interesting messages I.E, (from some recent subject lines): FILE::changing the permission to owner

Re: Advanced Users in The Beginners List

2002-06-29 Thread Ronnie Livingston
I sympathize with Yasen since I have the exact same problem. I often find that I delete most of the messages before I read them due to the overwhelming numbers. btw, thanks for the link Felix there is now a webinterface for the archives so one doesnt need a newsreader

Re: Advanced Users in The Beginners List

2002-06-29 Thread Ronnie Livingston
A decent newsreader does more than just allow you to read. It keeps track of which messages you already read, it only downloads headers and so you can choose which bodies to retrieve, it lets you post and reply, score the articles and you can setup a killfile. ah I see, any recommendations?

Check for integer

2002-06-29 Thread Donnie Jones
Hello, I was wondering if anyone knows how someone can test the value held by a variable in perl to see if it is an integer? My current project is using the perl DBI, and I was users to enter data, but to make sure that they don't enter strings in integer fields... Please help. Thanks,

Re: Check for integer

2002-06-29 Thread John W. Krahn
Donnie Jones wrote: Hello, Hello, I was wondering if anyone knows how someone can test the value held by a variable in perl to see if it is an integer? perldoc -q integer Found in /usr/lib/perl5/5.6.0/pod/perlfaq4.pod How do I determine whether a scalar is a

Re: Check for integer

2002-06-29 Thread Shawn
- Original Message - From: Donnie Jones [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, June 29, 2002 8:03 PM Subject: Check for integer Hello, Hello Donnie, I was wondering if anyone knows how someone can test the value held by a variable in perl to see if it is an

If/Elsif isn't doing what I'd expect

2002-06-29 Thread Tara Calishain
I'm using a script that's getting parameters passed to it via a form. Here's the relevant part of the form: select name=datemod option name=00 (Today's additions) option name=11 (Yesterday) option name=7Last Seven Days option name=30Last 30 Days In the script that's referenced like so: my

Else/If never mind, thanks

2002-06-29 Thread Tara Calishain
the problem was with the form; I figured it out. Thanks. Tara -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]