in reply to Re^2: Rewrite in a more compact way
in thread Rewrite in a more compact way
Well, it's in the eye of the beholder, (and I don't mean 'beauty' :), but that's just verbosity for it's own sake (IMO).
The most that is required here (and only then if you insist on sticking with the limitations of 1970s VTs), is:
my $str = sprintf( 'CALL DB_PROC_FOO(%s)', join ',', ( '?' ) x $n );
I'd love to see the PBP justifiction for this absurd practice of always replacing simple string constants with verbose and confusing q{} constructs. (Damn! But has that book got a lot to answer for!).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Rewrite in a more compact way
by Narveson (Chaplain) on Nov 28, 2008 at 04:47 UTC | |
by BrowserUk (Patriarch) on Nov 28, 2008 at 12:25 UTC |