MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: Perl Question



******    message to minivend-users from Erik Aase-Remedios <erik@fourfish.com>     ******

You should (untested) be able to do this

[perl arg="values"]
	$Safe{'values'}->{'my_var'} =~ s/\&/\//g;
[/perl]

-Erik

>>>>> Thompson-Jordan wrote (08:14 PM 2/3/99 ):
>******    message to minivend-users from "Thompson-Jordan" 
><Thompson-Jordan@mindspring.com>     ******
>
>Well, it was inevitable, I'm learning Perl. Here is my question. How to I
>change all of the &'s in a variable to /'s? Here was my try that does not
>work:
>
>[perl]
>	my $temp = $Safe{'values'}->{'my_var};
>	$temp =~ s/\&/\//g;
>	$Safe{'values'}->{my_var'} = $temp;
>[/perl]
>
>-
>To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
>email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
>Archive of past messages: http://www.minivend.com/minivend/minivend-list

-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: