;
}
return $reply;
}
From: Pradeep Sethi
Reply-To: [EMAIL PROTECTED]
To: \[ Muliawan Sjarif \]
Subject: Re: need advice - https authentication
Date: Tue, 17 Jun 2003 19:42:46 +0100 (BST)
Hi,
if you are using perl, you can set authentication in the header
perldoc Http::Headers
$h
Hi All,
I have a string
$str=first value %s and second is %s, substitute them;
and an array @vars=('I', 'II');
i want to substitute the array with the respective values
any regular expression or join etc ?
Thanks in advance
Pradeep
Pradeep Sethi
Hi ,
I have this in my code :
local $SIG{__DIE__} = \die_handler;
and then
sub die_handler {
my (@vars)=@_;
print STDERR \nfirst : . $vars[0];
print STDERR \nsecond : . $vars[1];
}
if i give :
die ('goo','foo','bar');
Then I get the output :
first : goofoobar at out.pl line 233.
do :
perldoc -f push
print function help
-Original Message-
From: Scott Lutz [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 20, 2002 4:32 PM
To: Beginners (E-mail)
Subject: perldoc manual
Where can one find a good reference to the perldocs?
I want to find out about push, so I
/(.*?)\s*=\s*(.*)/ and $var{$1} = $2 while FILE;
did u mean ?
/(.*?)\s*=\s*(.*)/ and $var-{$1} = $2 while FILE;
-Pradeep
-Original Message-
From: Jeff 'japhy' Pinyan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 05, 2002 12:33 PM
To: Kevin Werckman
Cc: [EMAIL PROTECTED]
Hi All,
I was wondering, is there a mailing list dedicated to Obejct Oriented Perl ?
Thanks
Prad
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
With this code, I get :
#!/usr/bin/perl -w
my $ordfile=shift || die unable to open : $!s\n;
open (LIST, $ordfile) || die unable to open file $ordfile : $!\n;
while (LIST) {
# chomp; # a)
my $line=$_;
print STDERR \nline : *** $line ***;
}
line : *** 6M2FD9XV
***
line : ***
what is the function in perl that returns current dir ?
Thanks
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I am on unix
I am doing this :
my $dir=`pwd`;
but I was looking, if there is a function in perl.
-Original Message-
From: Rex Arul [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 16, 2001 5:36 PM
To: Pradeep Sethi; [EMAIL PROTECTED]
Subject: Re: get current dir
Quick
Your question is related how to do CGI programming in perl. There are two
ways in which, we can pass values to a Perl web page.
POST GET, passing the values in the address bar like
www.mysite.com/show?name=peter is get and passing thru a web form
page normally uses post.
Both of these variables
Is there a similar function in perl like PHP - urlencode / urldecode ?
Thanks
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
11 matches
Mail list logo