I'm trying to convert a string I'm receiving from a perl script into stm and I'm really stumped so I'd appreciate some help. "Please"
The perl script sends me a string of variables like below. The first value is easy to grab but the next 4 are separted by a : without a var name. script.pl?var1=code:var2:var3:var4:var5 Its stipped in perl like this: chomp($inputstring); @parts = split(/:/,$inputstring); $code = $parts[0]; $secret = $parts[1]; $name = $parts[2]; $type = $parts[3]; $amount = $parts[4]; I need to give a name and a value for these like below to add the values to a database. <RC$code = RC$part0> <RC$secret = RC$part1> <RC$name = RC$part2> <RC$type = RC$part3> <RC$amount = RC$part4> Does anyone know how to do this with Sambar script? Peter ------------------------------------------------------- To unsubscribe please go to http://www.sambar.ch/list/
