The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
XML parsing through shell scritps karthikvela Shell Programming and Scripting 2 05-05-2008 10:07 AM
calling a shell script from perl gurukottur Shell Programming and Scripting 3 10-05-2006 12:48 PM
Installing Perl Modules ssmiths001 Shell Programming and Scripting 1 06-26-2006 10:20 PM
Calling CGI Perl in Shell script [urgent] DeepakXavier Shell Programming and Scripting 0 10-09-2005 02:51 AM
Correct Syntax For Calling Shell Script in Perl Module mh53j_fe Shell Programming and Scripting 4 06-08-2005 11:42 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-31-2004
kavitha kavitha is offline
Registered User
  
 

Join Date: Mar 2004
Posts: 7
Calling perl modules from shell scritps

hi,

Is it possible to call a perl function from a perl module from within a shell script. I have a similar requirement.

Thanks in advance,
Kavitha
  #2 (permalink)  
Old 03-31-2004
Optimus_P Optimus_P is offline Forum Advisor  
flim flam flamma jamma
  
 

Join Date: May 2001
Location: Chicago IL, USA
Posts: 1,006
your request does not make much sense.

if i understand this correctly you have a shell script.
inside this shell script you have some perl commands.
from these perl commands you want to load a module and use its functions.

well you can use perl on the command line. its full syntax i do not know because well frankly i dont use perl on the command line. but i dont think you can load a module on the fly and use a function.

my suggestion would be to just use perl in the first place. it will be 20x more robust then shell scripting and it will most likely be more expandable down the line.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:32 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0