perl.beginners
  Home FAQ Contact Sign in
perl.beginners only
 
Advanced search
May 2008
motuwethfrsasuw
   1234 18
567891011 19
12131415161718 20
19202122232425 21
262728293031  22
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007 2006  
total
perl.beginners Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  perl-support for vim help needed         


Author: Richard Lee
Date: May 9, 2008 22:42

does anyone use perl-support for vim here?

I installed it but having trouble bringing up the menus..

does anyone uses this? and know how to bring up the menu?

If the root menu 'Perl' is not visible call it with the item
"Load Perl Support" from the standard Tools-menu.
-- where is this
standard tools-menu?
3 Comments
  Text to hex         


Author: Mark Wagner
Date: May 9, 2008 21:14

Given a string of text, how do I convert it to a string of hexadecimal
values? For example, given the string "Hello", I want the string "48
65 6C 6C 6F".

--
Mark
3 Comments
  Perl MQSeries API newbie help         


Author: Ravi Malghan
Date: May 9, 2008 12:51

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 have not found any useful examples on the web. Can someone share a code ?

Que Name: TRS.E0.CREATE.REMEDY1
Queue manager: SPBO021T
MQ channel: REMEDY.CLIENT
IP: spbo021t.xx.xx.xx
Port: 1424

Thanks
Ravi

____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
no comments
  dns error or module error?         


Author: John Wilson
Date: May 9, 2008 12:40

Trying to install Net::SSLeay on Solaris 9 and I get the following
message in the output:

Use of uninitialized value in subroutine entry at
/m1/shared/perl/5.8.5-09/lib/5.8.5/sun4-solaris/Socket.pm line 373.

Bad arg length for Socket::pack_sockaddr_in, length is 0, should be 4 at
/m1/shared/perl/5.8.5-09/lib/5.8.5/sun4-solaris/Socket.pm line 373.

I've googled parts of this error and get some indication it might have
to do with dns problem, but as far as I know I have no dns problem. Any
advice?

Thanks,

John W.
2 Comments
  script for an mbox         


Author: Tony Heal
Date: May 9, 2008 09:59

I need to remove all messages older than X from a gigabyte size mbox. Anyone
got a script for this?

Tony Heal

Pace Systems Group, Inc.

800-624-5999 x9317
2 Comments
  deleting a user name from a file         


Author: Lokeey
Date: May 9, 2008 05:35

I'm writing this script to remove users from a file, the sudoers file, to be
more specific.

Here is what I have so far, not sure where to go from here.

*#!/usr/bin/perl -w

# this script removes a user from sudoers file

my $sites = $ARGV[0];
my $user = $ARGV[1];

for my $site ($#ARGV[1]){
open FILE, "$_/local/etc/sudoers" or die "cannot open sudoers for $sites:
$!";

print "Enter username you wish to remove from $sites sudoers.\n";

while () {s/$_//}
close FILE;
}*

--
"It's not what people call you, it's what you answer to."
3 Comments
  Documentation problem         


Author: exilepanda
Date: May 9, 2008 02:09

Hi all,

I have some problem on writing remarks on module.



use SomeMod ; # exported "BuildFather"

$x = BuildFather ( %%argv ) ;

$x_child = $x -> GiveSomething ( %%argv ) ;

$x_grandson = $x_child -> DoSomthingElse ( %%argv ) ;

print $x_child -> {Value}{Provided}{by}{Grandson}



So, which is a class?
which is a method ?
which is a class method ?
which is child method ?
How do I presence if there's any inherit happen here ?
Is there any so-called super class exists here ?

Any pointers ?

Thank you very much !
Show full article (0.67Kb)
no comments