user-avatar
Today is Sunday
November 24, 2024

Tag: @INC

November 3, 2009

one line perl command to get the @INC array

by viggy — Categories: perl, programming, tech — Tags: , Leave a comment

Below is a one line command to display all the entry in @INC array which contains the paths where perl programs looks for perl modules.

perl -e ‘foreach $_ (@INC){ print $_,”n”};’