Skip Menu |

This queue is for tickets about the DBI-Shell CPAN distribution.

Report information
The Basics
Id: 7971
Status: resolved
Worked: 10 min
Priority: 0/
Queue: DBI-Shell

People
Owner: talowery [...] gmail.com
Requestors: rjbs [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: the needed "/" before commands is not documented
It took me a while to figure out how to run commands in the dbish (other than SQL). The fact that I need a leading slash isn't documented. Someone on #perl pointed at the docs, which apparently were clear on this in 11.2, but I can't find 11.2, even on the backpan. (Maybe it was in DBI then?) The only lead is the synopsis for the "do" command, which shows an example. One line in the POD could save a lot of time for confused people like me.
Thank you for the feed back. FYI, command prefix may be determined by the user, so not everyone uses / to execute. I'm just wondering where you looked for the command syntax? perldoc DBI::Shell contains the follow: go /go (Execute the current statement) Run (execute) the statement in the current buffer. This is the default action if the statement ends with / Show quoted text
dbish> select * from user_views/
Show quoted text
dbish> select table_name from user_tables dbish> where table_name like ’DSP% dbish> /
Show quoted text
dbish> select table_name from all_tables/ │ more
Do you feel something stating a command prefix is needed (such as / ) before a command would have solved the issue?
From: RJBS
[TLOWERY - Thu Oct 28 15:56:46 2004]: Show quoted text
> perldoc DBI::Shell contains the follow: > > go > /go (Execute the current statement)
What version are YOU looking at? http://search.cpan.org/src/TLOWERY/DBI-Shell-11.93/lib/DBI/Shell.pm There is no slash in the perldoc, and no slash in the source. Show quoted text
> Do you feel something stating a command prefix is needed (such as / ) > before a command would have solved the issue?
Yes.
Revised docs in new release 11.94