Re: Decode just as Javascript's decodeURIComponent() does.

2007-07-30 Thread Question
On 7/30/07, Bill Luebkert <[EMAIL PROTECTED]> wrote: > > Question wrote: > > To Brian: > > That's uri_escape() function in the URI::Escape module, sorry for > > the clerical error. :-) > > > > To others: > > I just found the escape & unescape in the URI::Escape module. > > It seems es

Arguments for subroutine

2007-07-30 Thread Beri-Veera-ext, Reddy (n.a.)
Hello, I want to send array as input argument for subroutine. Please help me how to do this. Ex: ug_convert(@dr_con_list,$dataset,$datasettype,$release_status,$item_id,$item_revision,$local_option); Sub convert() { local((@dr_con_list,$dataset,$datasettype,$release_status,$item_id,$item_re

Re: Arguments for subroutine

2007-07-30 Thread Nathan S Haigh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Beri-Veera-ext, Reddy (n.a.) wrote: > Hello, > I want to send array as input argument for subroutine. Please help me how to > do this. > > Ex: > ug_convert(@dr_con_list,$dataset,$datasettype,$release_status,$item_id,$item_revision,$local_option);

Re: Arguments for subroutine

2007-07-30 Thread Bill Luebkert
Nathan S Haigh wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Beri-Veera-ext, Reddy (n.a.) wrote: > >>Hello, >> I want to send array as input argument for subroutine. Please help me how to >> do this. >> >>Ex: >>ug_convert(@dr_con_list,$dataset,$datasettype,$release_status,$item_

RE: Arguments for subroutine

2007-07-30 Thread Beri-Veera-ext, Reddy (n.a.)
Hello, Thanks for your help. I wrote like $status =ug_convert([EMAIL PROTECTED],$dataset,$datasettype,$release_status,$item_id ,$item_revision,$local_option); Sub ug_convert() { my($local_con_list,$local_dataset,$local_datasettype,$local_release_stat us,$local_item_id,$local_item_rev,$local_opt

Re: Arguments for subroutine

2007-07-30 Thread Nathan S Haigh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Beri-Veera-ext, Reddy (n.a.) wrote: > Hello, > Thanks for your help. I wrote like > $status > =ug_convert([EMAIL PROTECTED],$dataset,$datasettype,$release_status,$item_id > ,$item_revision,$local_option); > Sub ug_convert() > { > > my($local_con_li

RE: Arguments for subroutine

2007-07-30 Thread Beri-Veera-ext, Reddy (n.a.)
Hi Please see my sample program. Error:Missing $ on loop variable at C:\BSH\Flexcax_export\samples\arry_arg.pl line 11. Thanks && Regards Karunakar Reddy B.V. -Original Message- From: Nathan S Haigh [mailto:[EMAIL PROTECTED] Sent: 01 August 2007 13:58 To: Beri-Veera-ext, Reddy (n.a.)

Re: Arguments for subroutine

2007-07-30 Thread Bill Luebkert
Beri-Veera-ext, Reddy (n.a.) wrote: > Hi Please see my sample program. > Error:Missing $ on loop variable at > C:\BSH\Flexcax_export\samples\arry_arg.pl line 11. This gets no errors: #!/usr/bin/perl use strict; use warnings; my @dr_con_list = (1, 2, 3, 4); my $dataset = 1; my $datasettype = 1;

Re: Arguments for subroutine

2007-07-30 Thread Nathan S Haigh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Beri-Veera-ext, Reddy (n.a.) wrote: > Hi Please see my sample program. > Error:Missing $ on loop variable at > C:\BSH\Flexcax_export\samples\arry_arg.pl line 11. > > > Thanks && Regards > Karunakar Reddy B.V. > > Firstly, the script you supplied

RE: Decode just as Javascript's decodeURIComponent() does.

2007-07-30 Thread Roode, Eric
On Sunday, July 29, 2007 10:39 PM, Question wrote: > That's uri_escape() function in the URI::Escape module, sorry for > the clerical error. :-) > To others: > I just found the escape & unescape in the URI::Escape module. > It seems escape & unescape are not recommended ones, also the >