Hanging your food/trash in bear country is a good idea as shown by profdant139. If I can add a few pointers after a long time backpacker/wilderness canoer in northern BC/Yukon.
1) If you have large trees with large branches then the 1 rope system works well. If you are in the sub alpine or northern latitudes where the trees/branches are smaller, the 2 rope system works best. Throw weighted end of rope tied to carabiner, attached to leatherman,etc, over branch. Let drop to ground. Remove Leatherman. Attach packs/bags to carabiner. Attach second rope(tied to second carabiner) to first carabiner. Pull up packs/bags to well above human height and tie to first tree. Take second rope to adjoining tree. Pull packs/bags away from first tree until well away from bears reach. Attach rope to second tree. Make sure your strong, thin, nylon ropes are long enough.
2) I have had personal experience with ravens, crows, Canada jays, etc. pecking holes in the nylon, canvas, etc when I was young and foolish, so now almost everything, especially food, goes into steel mesh bags.
Dave