-
Notifications
You must be signed in to change notification settings - Fork 551
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
perldoc -f -t and perldoc -t -f don't do the same thing #897
Comments
From ged@C2H5OH.jubileegroup.co.ukI used perldoc -f -t to get help on a function, instead of the =item I<-X> EXPR =item I<-X> A file test, where X is one of the letters listed below. This unary -r File is readable by effective uid/gid. -R File is readable by real uid/gid. -e File exists. -f File is a plain file. -u File has setuid bit set. -T File is a text file. -M Age of file in days when script started. Example: while (<>) { The interpretation of the file permission operators C<-r>, C<-R>, Also note that, for the superuser on the local filesystems, the C<-r>, Note that C<-s/a/b/> does not do a negated substitution. Saying The C<-T> and C<-B> switches work as follows. The first block or so of the If any of the file tests (or either the C<stat()> or C<lstat()> operators) are given print "Can do.\n" if -r $a || -w _ || -x _; stat($filename); +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Perl Info
|
From @mjdominus
perldoc -f foo delivers the description of the foo function. You asked for perldoc -f -t. You got the description of the Perl's `-t' function. |
From [Unknown Contact. See original ticket]Hi there, On Fri, 26 Nov 1999, Mark-Jason Dominus wrote:
Er, I thought -t was an operator, not a function. Kind regards, |
From [Unknown Contact. See original ticket]G . W . Haywood <ged@C2H5OH.jubileegroup.co.uk> writes:
It is not "garbage" - it is the documentation that relates to the '-t'
-- |
Migrated from rt.perl.org#1830 (status was 'resolved')
Searchable as RT1830$
The text was updated successfully, but these errors were encountered: