Navigation Menu

Skip to content
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 hex should say how to convert back #7800

Closed
p5pRT opened this issue Feb 16, 2005 · 6 comments
Closed

perldoc -f hex should say how to convert back #7800

p5pRT opened this issue Feb 16, 2005 · 6 comments

Comments

@p5pRT
Copy link

p5pRT commented Feb 16, 2005

Migrated from rt.perl.org#34155 (status was 'resolved')

Searchable as RT34155$

@p5pRT
Copy link
Author

p5pRT commented Feb 16, 2005

From @jidanni

perldoc -f hex should say how to convert back too.
perldoc -f oct does.
Be consistent, or at least add a hint.

@p5pRT
Copy link
Author

p5pRT commented Mar 9, 2005

From @davidnicol

okay Dan, how does this grab you?

Inline Patch
--- perlfunc.pod        Tue Mar  8 12:23:37 2005
+++ perlfunc.pod.new    Tue Mar  8 18:22:41 2005
@@ -2273,7 +2273,8 @@

 Hex strings may only represent integers.  Strings that would cause
 integer overflow trigger a warning.  Leading whitespace is not stripped,
-unlike oct().
+unlike L</oct>. To present something as hex, look into L</printf>, L</sprintf>,
+or L</unpack>.

 =item import




On Wed, 16 Feb 2005 07:45:12 -0800 (PST), via RT Dan Jacobson \ wrote​: > perldoc \-f hex should say how to convert back too\. > perldoc \-f oct does\. > Be consistent\, or at least add a hint\.

@p5pRT
Copy link
Author

p5pRT commented Mar 9, 2005

The RT System itself - Status changed from 'new' to 'open'

@p5pRT
Copy link
Author

p5pRT commented Mar 10, 2005

From @jidanni

D> okay Dan, how does this grab you?
OK I guess. But perldoc -f oct gives an example and you don't.
Wait, perldoc -f sprintf doesn't mention how to "convert back"
from what it produces either...

@p5pRT
Copy link
Author

p5pRT commented Mar 14, 2005

From @rgs

David Nicol wrote​:

okay Dan, how does this grab you?

--- perlfunc.pod Tue Mar 8 12​:23​:37 2005
+++ perlfunc.pod.new Tue Mar 8 18​:22​:41 2005
@​@​ -2273,7 +2273,8 @​@​

Hex strings may only represent integers. Strings that would cause
integer overflow trigger a warning. Leading whitespace is not stripped,
-unlike oct().
+unlike L</oct>. To present something as hex, look into L</printf>, L</sprintf>,
+or L</unpack>.

Thanks, applied as #24036.

@p5pRT
Copy link
Author

p5pRT commented Mar 14, 2005

@rgs - Status changed from 'open' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant