ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Pearl Script

Post new topic  Reply to topic
 Pearl Script « View previous topic :: View next topic » 
Author Message
skrv
PostPosted: Thu Jan 24, 2013 11:06 am    Post subject: Pearl Script Reply with quote

Centurion

Joined: 26 Oct 2012
Posts: 118

Hello,
Can anyone help with pearl Scripting.

I'm looking for equilant pearl code which can do -

======================
OS=`uname -s`

if [[ $OS = "Linux" ]]; then
my $HOME='/home/mqm'
else
my $HOME='/export/home/mqm'
fi
======================


thanks
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Jan 24, 2013 11:13 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

I don't know what Pearl is.

Otherwise, start here
Back to top
View user's profile Send private message
skrv
PostPosted: Thu Jan 24, 2013 11:16 am    Post subject: Reply with quote

Centurion

Joined: 26 Oct 2012
Posts: 118

Sorry it's a typo..... am looking for perl script.

if anyone can help with this, that would be gr8.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Jan 24, 2013 11:18 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

skrv wrote:
Sorry it's a typo..... am looking for perl script.

if anyone can help with this, that would be gr8.


Did you click the link I posted?

It will provide you with step by step instructions.
Back to top
View user's profile Send private message
skrv
PostPosted: Thu Jan 24, 2013 11:19 am    Post subject: Reply with quote

Centurion

Joined: 26 Oct 2012
Posts: 118

hmmmm ... am not good at all with scripting, so it would definitely take time for me to learn it
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Jan 24, 2013 11:25 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

skrv wrote:
hmmmm ... am not good at all with scripting, so it would definitely take time for me to learn it


It would take me time to give you the answer.

Back to top
View user's profile Send private message
mvic
PostPosted: Thu Jan 24, 2013 3:39 pm    Post subject: Re: Pearl Script Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

skrv wrote:
I'm looking for equilant pearl code which can do ...

I think you'll be able to find your solution really easily if you just review some example Perl code that you find by searching around.

Or better still, take 30 minutes to read through an excellent introduction such as "Perl introduction for beginners" at point 2 on the page already given by mqjeff.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Pearl Script
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.