Perl MQSeries API newbie help

2008-05-09 Thread Ravi Malghan
Hi: I have very little knowledge about MQ Series. I have built the MQ Client and MQSeries perl API on my server. My MQ admin also has provided me the name of ques, queue manager, MA CHannel, hostname and port. I am trying to build a simple script that will connect to a que and fetch messages. I

Newbie help for Net::smpp

2005-08-01 Thread Claudio.
Hi I need some help in the implementation of Net::smpp Somebody have a sample about how retrieve the info of submit_sm_resp, next to send a message? i've reading the protocol specification from http://smsforum.net, and this indicates that in the header retrieves the "command_status" field, but i

RE: newbie help for podcast script [with attach]

2005-07-31 Thread Charles K. Clarkson
[EMAIL PROTECTED] wrote: : This is basically my 1st perl script. : : It's a podcast download app. I don't know the etiquette for : attaching files, but I have attached a <100 line perl file. : : It seems that it fails if there is only 1 podcast for a feed : with: : : fet

Re: newbie help for podcast script [with attach]

2005-07-31 Thread alexeijh
On Sat, 2005-07-30 at 20:15 +1000, [EMAIL PROTECTED] wrote: > On Fri, 2005-07-29 at 19:03 -0700, John W. Krahn wrote: > > > You are trying to call the get() method on the $feed object. Read the > > documentation for the correct syntax for XML::Simple::XMLin(). > > > > perldoc XML::Simple > > >

Re: newbie help for podcast script [with attach]

2005-07-31 Thread John Doe
[...] > The script works fine for a normal pod feed. It only fails when the feed > only has one channel->item. > > Is line 65 OK? > > "foreach my $item (@{$data->{channel}->{item}}) {" > > all I want to do is step through one-by-one each item. Does that code > work properly if there is only one ite

Re: newbie help for podcast script [with attach]

2005-07-30 Thread alexeijh
On Fri, 2005-07-29 at 19:03 -0700, John W. Krahn wrote: > You are trying to call the get() method on the $feed object. Read the > documentation for the correct syntax for XML::Simple::XMLin(). > > perldoc XML::Simple > > > As to the warning message: > > perldoc perldiag > [snip] >Odd

Re: newbie help for podcast script [with attach]

2005-07-29 Thread John W. Krahn
[EMAIL PROTECTED] wrote: > *** SORRY, forgot to attach file. *** > > Hi, Hello, > This is basically my 1st perl script. > > It's a podcast download app. I don't now the etiquette for attaching > files, but I have attached a <100 line perl file. > > It seems that it fails if there is only 1 pod

newbie help for podcast script [with attach]

2005-07-29 Thread alexeijh
*** SORRY, forgot to attach file. *** Hi, This is basically my 1st perl script. It's a podcast download app. I don't now the etiquette for attaching files, but I have attached a <100 line perl file. It seems that it fails if there is only 1 podcast for a feed with: fetching http://www.abc.net.

newbie help for podcast script

2005-07-29 Thread alexeijh
Hi, This is basically my 1st perl script. It's a podcast download app. I don't now the etiquette for attaching files, but I have attached a <100 line perl file. It seems that it fails if there is only 1 podcast for a feed with: fetching http://www.abc.net.au/science/k2/podcast/drk_rss.xml ...

Re: Newbie help

2003-07-21 Thread Keith Olmstead
ime of 00:00. Any suggestions? Again, thanks for the help before. --Keith On Thu, 17 Jul 2003, Keith Olmstead wrote: Date: Thu, 17 Jul 2003 14:51:41 -0500 (CDT) From: Keith Olmstead <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Newbie help Hello, Been searching though this list for awh

Re: Newbie help

2003-07-19 Thread denis
Dont know if anyone has replyed yet.. But why not use "time"? Here's what I'm thinking.. my @t = localtime(time); my $today; $today = sprintf "%4d%02d%02d", $t[5]+1900, $t[4]+1, $t[3]; print "$today"; will print out todays date.. this will give you a place to start.. Denis On Thu, 17 Jul

Re: Newbie help

2003-07-18 Thread Jostein Berntsen
On 17.07.03,14:51, Keith Olmstead wrote: > Hello, > > Been searching though this list for awhile now, and now I am needing some help. I > am not asking for someone to do my code for me, I am trying to learn perl and the > only way for me to do that is to dive staight into it. > > My problem i

Re: Newbie help

2003-07-17 Thread Paul D. Kraus
"Keith Olmstead" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > > Been searching though this list for awhile now, and now I am needing some help. I am not asking for someone to do my code for me, I am trying to learn perl and the only way for me to do that is to dive staig

Newbie help

2003-07-17 Thread Keith Olmstead
Hello, Been searching though this list for awhile now, and now I am needing some help. I am not asking for someone to do my code for me, I am trying to learn perl and the only way for me to do that is to dive staight into it. My problem is with the theory of the script that I am trying to wri

Re: Newbie Help Needed! Mail Problem!

2003-03-29 Thread R. Joseph Newton
Palm Optins wrote: > Hello All. > > I have a admin script for a protected members area. In it, I can email all the > members > to let them know the Updates of the program. > > For some unknown reason, it keeps sending out double emails for each address. > Can someone tell me what I did wrong? > >

Newbie Help Needed! Mail Problem!

2003-03-28 Thread Palm Optins
Hello All. I have a admin script for a protected members area. In it, I can email all the members to let them know the Updates of the program. For some unknown reason, it keeps sending out double emails for each address. Can someone tell me what I did wrong? Here's the code I used for the mailer

Re: Newbie - Help with writing a memory leak script for an application...

2002-11-13 Thread Ramprasad A Padmanabhan
use tools like memprof for finding memory leaks why bother writing your own Alex Yuen wrote: Hi, I am still a newbie to Perl. I am assigned to write a Perl program to monitor a memory leak on an application running on a Sun system - Solaris. Now, I'm a Windows NT System Administrator...so, I am

Newbie - Help with writing a memory leak script for an applicatio n...

2002-11-12 Thread Yuen, Alex
Hi, I am still a newbie to Perl. I am assigned to write a Perl program to monitor a memory leak on an application running on a Sun system - Solaris. Now, I'm a Windows NT System Administrator...so, I am trying to transition over to Unix and don't know where to start. Can someone point me in the r

RE: Newbie Help please.

2002-03-31 Thread Timothy Johnson
ent: 3/31/02 5:04 AM Subject: Re: Newbie Help please. Sa wrote: > #!/usr/bin/perl -w > $map{"red"} = "apple"; > $map{"green"} = "grass"; > $map{"blue"} = "ocean"; > print "A string please: "; chomp ($some_string = ); &g

Re: Newbie Help please.

2002-03-31 Thread Ahmed Moustafa
Sa wrote: > #!/usr/bin/perl -w > $map{"red"} = "apple"; > $map{"green"} = "grass"; > $map{"blue"} = "ocean"; > print "A string please: "; chomp ($some_string = ); > print "The value for $some_string is $map($some_string)\n"; > > When I run it though I get the following complaint from perl: > > A

Re: Newbie Help please.

2002-03-31 Thread Billie
Hi The term $map($some_string) actually means 2 scalar variables, one is $map and the other is $some_string. You get warning of uninitialized variable because $map is never declared before. The correct way to refer to a value in hash is $map{$some_string}. I think there is a typo in the book Ho

Newbie Help please.

2002-03-31 Thread SA
Hi Everyone- I'm just starting to learn perl programing. I'm doing this through the O'Reilly book: Learning Perl. I seem to be stuck on hashes. I was doing the exercise in the back of chapter 5. This program wants a hash with 3 keys and 3 values. It then asks for a string. That string is the

Re: [OT] Linux newbie help

2001-12-17 Thread Jonathan E. Paton
Hi, Why not visit www.linuxdoc.org? They have a large collection of Linux HOWTOs, books and other interesting information. Also, more closely related to Perl you should know about www.perldoc.com. Jonathan Paton __ Do You Yahoo!? Everything you'

[OT] Linux newbie help

2001-12-17 Thread Etienne Marcotte
Hello there, this is kinda off-topic, altough it will help me for my perl scripting:) I just got my laptop with windows XP Pro and Linux mandrake 8.1 dual boot. Now i'm really new to linux, I know ls and cd, I can login as root and go into the shell to type mysql and have that same mysql thing a

RE: newbie help

2001-09-06 Thread John Edwards
operators and the stat() command) and the rest available as modules. There is also a File::Compare module, but I can't find what it compares. HTH John -Original Message- From: Mike Singleton [mailto:[EMAIL PROTECTED]] Sent: 06 September 2001 13:49 To: [EMAIL PROTECTED] Subject: newbie help

newbie help

2001-09-06 Thread Mike Singleton
Is there a reference URL someone can point me to that would explain the rudiments of simple file copy and compare using Perl under NT/2000 ?? === Mike Singleton CCNA, CNE, MCSE Network Analyst (253) 272-1916 x1259 (253) 405-1968 (cellular) [EMAIL PROTECTED] DaVita Inc.

Re: newbie: help with file search

2001-07-16 Thread Ondrej Par
Well, are you trying to find several patterns (file1, file2 etc.) in all files in $dirname, or are you trying to determine wether those file1, file2 etc. exists in $dirname directory? it's not clear from your code anyway, one more note: you don't need to test 'defined(@files=readdir DIR)',

newbie: help with file search

2001-07-16 Thread Groove Salad
Hello Everyone: I'm trying determine the best way to check if a file name is contained within a couple of larger files. I can do a grep from the command line but, what's the fun of that!? Plus there's about a hundred files which would be tedious. Here's my coding attempt: $dirname = "/var/