LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 02-07-2012, 01:25 PM   #1
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Script to determine perl dependencies


I'd like to write script to check the dependencies of perl scripts. Does anyone have any ideas? Can perl itself help without actually trying to run the script?
 
Old 02-08-2012, 08:36 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
http://search.cpan.org/dist/Devel-Mo...vel/Modlist.pm
 
Old 02-09-2012, 12:18 AM   #3
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Original Poster
Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Thanks for the tip. In the meantime I found a bit of helpful things like PreReqScanner and ScanDeps. Hopefully I'll be able to use some of this. Modlist looks like exactyl what I need:
"Display the path and filename of each module instead of the module name. Useful for producing lists for later input to tools such as rpm."
I have my own packaging system and need to be able to trace modules back to a filename.
 
Old 02-10-2012, 04:19 AM   #4
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,515

Rep: Reputation: 239Reputation: 239Reputation: 239
perl -c
??
 
Old 02-10-2012, 08:32 AM   #5
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Original Poster
Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
"perl -c name" only outputs 'Syntax OK' here. Am I missing something?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't determine which module is missing with Perl(Ubuntu 11.10) tbaror Ubuntu 5 08-01-2012 09:13 AM
Bash/perl script to determine network activity mrjoe42 Programming 1 07-07-2009 07:03 PM
Cannot determine dependencies of module jacobselvin Linux - Software 2 01-05-2007 08:58 AM
kernel compile 2.6.12 Cannot determine dependencies of module piix biophysics Linux - Software 3 07-10-2005 12:34 PM
Converting a Windows Perl script to a Linux Perl script. rubbercash Programming 2 07-19-2004 10:22 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration