Kevin Smith:
# $statement=q{UPDATE
# auctions
# SET
# windows_title = '$window_title',
# auction_title = '$auction_title',
# startbid = $startbid,
# description = '$description',
# jpeg = '$jpeg',
# filename = '$filename',
# auction_name = '$auction_name'
# WHERE
# auction_id = $auction_id};
#
# Why does the escape the $ character if it is meant to how can
# I just get it
# to escape the contents of all the scalars?
If I understand your problem, just change the 'q' to 'qq'. Perl will
only do one level of interpolation (substitution) on variables:
$foo='x';
$bar='$foo'; #single quotes=no interpolation
print "foo $bar"; #prints 'foo $foo', not 'foo x'
--Brent Dax <[EMAIL PROTECTED]>
@roles=map {"Parrot $_"} qw(embedding regexen Configure)
#define private public
--Spotted in a C++ program just before a #include
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs