Akopia Akopia Services

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

Re: [mv] perl string > integer: Sorry Not yet solved.



******    message to minivend-users from "Bill Randle" <billr@exgate.tek.com>     ******


Is it possible there are leading or trailing spaces in the
info you pick up from the database? You might try something
like:

	$rate = '[data taxgroups rate [item-field taxgroup]]';
	$rate =~ s/\s*(\d+)\s*/$1/;



	-Bill
-
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: