2.4.0.800000031 - Disclosure - 6. STOCKHOLDERS EQUITY (Details)truefalsefalse1false
falsefalseAsOf2013-07-31http://www.sec.gov/CIK0000704562instant2013-07-31T00:00:000001-01-01T00:00:00SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli01false
4us-gaap_CommonStockCapitalSharesReservedForFutureIssuanceus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalse| 1truefalsefalse2374743123747431falsefalsefalse | xbrli:sharesItemTypesharesAggregate number of common shares reserved for future issuance.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.29)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
false1
2false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2false
truefalseAsOf2013-07-31_custom_StockIncentivePlansMember99081710http://www.sec.gov/CIK0000704562instant2013-07-31T00:00:000001-01-01T00:00:00falsefalseStock Incentive Plansus-gaap_StatementClassOfStockAxisxbrldihttp://xbrl.org/2006/xbrldipphm_StockIncentivePlansMemberus-gaap_StatementClassOfStockAxisexplicitMemberSharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0nanafalse0
3false
4us-gaap_CommonStockCapitalSharesReservedForFutureIssuanceus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalse| 1truefalsefalse1993406919934069falsefalsefalse | xbrli:sharesItemTypesharesAggregate number of common shares reserved for future issuance.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.29)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
false1
4false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 3false
truefalseAsOf2013-07-31_custom_EmployeeStockPurchasePlanMemberhttp://www.sec.gov/CIK0000704562instant2013-07-31T00:00:000001-01-01T00:00:00falsefalseEmployee Stock Purchase Planus-gaap_StatementClassOfStockAxisxbrldihttp://xbrl.org/2006/xbrldipphm_EmployeeStockPurchasePlanMemberus-gaap_StatementClassOfStockAxisexplicitMemberSharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0nanafalse0
5false
4us-gaap_CommonStockCapitalSharesReservedForFutureIssuanceus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalse| 1truefalsefalse34385593438559falsefalsefalse | xbrli:sharesItemTypesharesAggregate number of common shares reserved for future issuance.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.29)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
false1
6false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 4false
truefalseAsOf2013-07-31_us-gaap_WarrantMemberhttp://www.sec.gov/CIK0000704562instant2013-07-31T00:00:000001-01-01T00:00:00falsefalseWarrantsus-gaap_StatementClassOfStockAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_WarrantMemberus-gaap_StatementClassOfStockAxisexplicitMemberSharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0nanafalse0
7false
4us-gaap_CommonStockCapitalSharesReservedForFutureIssuanceus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalse| 1truefalsefalse374803374803falsefalsefalse | xbrli:sharesItemTypesharesAggregate number of common shares reserved for future issuance.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.29)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
false1
false6. STOCKHOLDERS EQUITY (Details)UnKnownNoRoundingUnKnownUnKnowntruefalsefalseSheethttp://peregrineinc.com/role/StockholdersEquityDetails17