[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Perl Question
****** 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