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_truenainstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse2374743123747431falsefalsefalsexbrli: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 false12false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2false 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/instancesharesxbrli0nanafalse03false 4us-gaap_CommonStockCapitalSharesReservedForFutureIssuanceus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse1993406919934069falsefalsefalsexbrli: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 false14false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse3false 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/instancesharesxbrli0nanafalse05false 4us-gaap_CommonStockCapitalSharesReservedForFutureIssuanceus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse34385593438559falsefalsefalsexbrli: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 false16false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse4false 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/instancesharesxbrli0nanafalse07false 4us-gaap_CommonStockCapitalSharesReservedForFutureIssuanceus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse374803374803falsefalsefalsexbrli: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 false1false6. STOCKHOLDERS EQUITY (Details)UnKnownNoRoundingUnKnownUnKnowntruefalsefalseSheethttp://peregrineinc.com/role/StockholdersEquityDetails17