Hey!
Can you believe this posting to a Java SERVLET-INTEREST E-list.
Try this. Replace all $s with @s and all @s with &s. :>)
Make sure you include the smiley at the end of your code.
Sans adieu,
Danny Rubis
ALINA RIMBU wrote:
> Hi!
> Sorry, I know that this is not the place, but I was hoping that I can get some
> help.
> I need to replace a name in the name-value pairs from ths GCI class.
> I don't know if it's possible to do that directly, so I tried to delete the
> pair and the append a new one, but I got an error message: "delete argument is
> not a Hash element or slice".
>
> This is the code:
>
> @names = param;
> foreach $name(@names){
> $test_str = substr($name,2,1);
> if($test_str eq "1") {
> $val=param($name);
> delete($name);
> append($dssampdens . substr($name,2,5), $val);
> }
> }
>
> Thank you.
>
> Alina
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html