My 2 paisas

one line perl command to get the @INC array

Posted on: November 3, 2009

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”};’

Advertisements
Tags: ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Links that I liked to save

Blog Stats

  • 44,039 hits
%d bloggers like this: