Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix help message #3

Merged
merged 1 commit into from

2 participants

@datamuc

No description provided.

Danijel Tasov fix help 61640e8
@ironcamel
Owner

Thanks!

@ironcamel ironcamel merged commit c7fb160 into ironcamel:master
@ironcamel
Owner

Would be great if you update lib/App/p.pm as well.

@datamuc

The docs in App/p.pm are already ok:

The problem was that they didn't match:

$ perldoc App::p | grep 'x[ld]  to'
            xd  to XML::Hash::LX::hash2xml()
            xl  to XML::Hash::LX::xml2hash()
$ p 2>&1 | grep 'x[ld]'            
    xd  to XML::Hash::LX::xml2hash 
    xl  to XML::Hash::LX::hash2xml
@ironcamel
Owner

Oops :) You are right. I wish there was a good way to not have to duplicate this between the 2 files. Maybe there is a way with pod2usage.

@ironcamel
Owner

@datamuc, your changes have been pushed to CPAN https://metacpan.org/module/IRONCAMEL/App-p-0.0102/bin/p . Thanks again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 8, 2012
  1. fix help

    Danijel Tasov authored
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 bin/p
View
4 bin/p
@@ -12,8 +12,8 @@ Usage: p [-lneE etc] 'code'
dd to Data::Dump::dd()
jd to JSON::XS::encode (utf8/pretty)
jl to JSON::XS::decode (utf8/allow nonref) a thing
- xd to XML::Hash::LX::xml2hash
- xl to XML::Hash::LX::hash2xml
+ xd to XML::Hash::LX::hash2xml
+ xl to XML::Hash::LX::xml2hash
yd to YAML::Dump()
yl to YAML::Load()
sum,first,min,max,zip,uniq,any,all,none ... all of List::AllUtils
Something went wrong with that request. Please try again.