Nilay Puri wrote:
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.
M
n of the sub routine main
sub main {
--
---
}
Regards,
Nilay
I suggest writing a simple one:
#simple.pl
#!/usr/bin/perl -w
sub main{
return 1;
}
exit &main;
#end
and then try it:
[EMAIL PROTECTED]:~> ./simple.pl && echo error
error
cheers
Eternius
--
To un
Leon wrote:
Hi everyone,
I am created this script to send e-mails (see below).
I get this error when I try to run it:
Number found where operator expected at
C:\scriptz\test\NEWSCR~1.CGI line 15, ne
ar "The IP address for the interface that caused the
event, or "0"
(Might be a runaway multi-li
Nilanjana Bhattacharya wrote:
Hello everybody,
I have two radio buttons in a form. I want - When any one clicks on button "A"
a mail will be sent to "A" & when any one clicks on button "B" mail will be
sent to button "B". In both the cases whether someone clicks on A or B I will
receive a mail
Nilay Puri wrote:
-Original Message-
From: Nilay Puri, Noida
Sent: Wednesday, February 04, 2004 11:37 AM
To: Perl (E-mail)
Subject: FW: special vars
-Original Message-
From: Nilay Puri, Noida
Sent: Wednesday, February 04, 2004 11:32 AM
To: Perl (E-mail)
Subject: speci
Nilay Puri wrote:
Hi all,
$sth->{LongReadLen} = 3; #what's the statement doing ? And from where
to find out what all parameters are available to statement handle ?
my ($id_prod);
my $sqlstmt = <<"EOM";
SELECT
id_prod
FROM
product
EOM
my $dbh = DBI->connect('DBI:Oracle:' . $SID,
then I guess, I didn't understand it myself
Wiggins D Anconia wrote:
Nilay Puri wrote:
if u use an OS like linux (which will not write things imediately to
disc) this forces it to do so.
That is misleading and not necessarily true. It tells Perl to unbuffer
the I/O but not the OS. The OS de
lways the best
solutions.
regards
Eternius
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
Joshua A. Gage wrote:
Hi,
I'm having a bit of trouble with using some local scope variables. I
have a function where I want to define a variable, then use that
variable in a sub function. That sounds like the text book definition
for when to use a local scope variable. Below is the test script
"a = $a\n";
print "aa = $aa\n";
}
Wiggins d'Anconia wrote:
> Eternius wrote:
>
>> Joshua A. Gage wrote:
[snip]
>>
>> use my
>> extract from perldoc -f my :
>> A "my" declares the listed variables to be local
>>
10 matches
Mail list logo