I think the CGI.pm uploadinfo() is what I am looking for.
To answer Gunnar's question: I want to make sure I know the file type I am
dealing with so that I don't try to use print to write binary data to an
open file handle. When I wrote my first program 4 years ago, I thought I
could use print
Hi Tim,
I totally understand the rebuild perl approach, you mentioned in
that I know what you mean and how to go about it;but I'm fairly
new to Perl too and that seems like a big undertaking for 1 module,
1, because I'm new to perl and building environments in general
and 2.
Hi,
I'm sure there are a zillion ways of doing this, but rather than
re-invent the wheel I thought I'd use my best skill - The ability to
ask someone else and plaguerise :)
So, I would like to poll a remote server (production app server) find
files (log files) in a specific
How do I find out the version of DBD:Oracle module that is installed with my
perl? If I install another version, will it overwrite everything that is
related to the older module?
Thanks
Ravi
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
nm. I was able to get the version by running
perl -MDBD::Oracle -e 'print $DBD::Oracle::VERSION\n'
Thanks
- Original Message
From: Ravi Malghan [EMAIL PROTECTED]
To: beginners@perl.org
Sent: Monday, June 23, 2008 6:47:07 AM
Subject: How to find version of a module
How do I find out
Hi ,
I tried to capture some data in STDIN and wanted compare with a Queried data
form a database. When i run the script , there is some errors.
Scalar value @array[2] better written as $array[2] at hell.pl line 22.
Scalar value @array[1] better written as $array[1] at hell.pl line 31.
Scalar
Perl is warning you that your variables have not been declared. You need to
declare the @array and $temp as my @array, my $temp.
Also, the second element of @array is $array[1] not @array[1].
Mimi
On 23/06/2008, luke devon [EMAIL PROTECTED] wrote:
Hi ,
I tried to capture some data in STDIN
You could use the CPAN module Net::SSH
http://search.cpan.org/~ivan/Net-SSH-0.09/SSH.pm.
- Install the module on you local PC.
- Create a non-privileged user on the remote server
- Create SSH certificate for the non-privileged user on the remote machine
- Use the non-privileged user to run remote
You don't need the do {} block at all. You could print the same message
without the do{}.
my $dbh = DBI-connect( DBI:mysql::$mysql_host, $mysql_user, $mysql_pass )
or die statement before dying\nCan't connect, $DBI::errstr\n;
Above should do for you.
Mimi
On 20/06/2008, John W. Krahn
On Jun 23, 8:36 am, [EMAIL PROTECTED] (Luke Devon) wrote:
Scalar value @array[2] better written as $array[2] at hell.pl line 22.
Scalar value @array[1] better written as $array[1] at hell.pl line 31.
...
Possible unintended interpolation of @array in string at hell.pl line 38.
...
Global
luke devon wrote:
I tried to capture some data in STDIN and wanted compare with a
Queried data form a database. When i run the script , there is some
errors.
snip
Scalar value @array[2] better written as $array[2] at hell.pl line
22.
snip
Global symbol @array requires explicit package
On Fri, Jun 20, 2008 at 4:52 PM, Bryan R Harris
[EMAIL PROTECTED] wrote:
Bryan R Harris wrote:
John W. Krahn wrote:
Bryan R Harris wrote:
John W. Krahn wrote:
The left hand side of the assignment determines context so the @l2r{...}
part.
That strikes me as odd... When perl goes to
From: Bryan R Harris [EMAIL PROTECTED]
Bryan R Harris wrote:
John W. Krahn wrote:
Bryan R Harris wrote:
John W. Krahn wrote:
The left hand side of the assignment determines context so the @l2r{...}
part.
That strikes me as odd... When perl goes to populate @l2r{a,b}, it
seems
From:Bryan R Harris [EMAIL PROTECTED]
Jenda wrote:
From: Bryan R Harris [EMAIL PROTECTED]
It makes more sense to me that (FILE,FILE) is kind of the same thing as
saying (@a,@b). In list context @a returns the array as a list, but in
scalar context @a returns the number of elements.
When using CPAN, you can take advantage of the fact that the module
installation prompts the user, and rename the problematic file during
that time. In my installation, the file was located at: C:\Perl\cpan
\build\SOAP-Lite-0.710.07-XmJUjt\t\SOAP\Transport\HTTP\CGI.t, however,
the exact location
Malka Cymbalista wrote:
We are running perl 5.8.5 on a Linux machine that is running apache 2.2.6 with
mod_perl 2.0.3. Our data is in a MySQL database (MySQL 5.0.45)
We have been asked to write a web application that requires plotting
capabilities. We do most of our web programming in perl
Thank you Mimi, now my perl code is working. It was a great help . I was lost
in perl. Thanks again.
- Original Message
From: Mimi Cafe [EMAIL PROTECTED]
To: beginners@perl.org
Sent: Monday, June 23, 2008 18:19:45
Subject: Problem with Arrays
Perl is warning you that your variables
17 matches
Mail list logo