473,544 Members | 1,758 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Perl Forum

Perl programming language - ask questions about perl programming, syntax, variables, scoping, constructs, operators and functions, files, I/O, regular expressions, regex, subroutines, OO (object oriented), perl modules, CGI and more.
0
1,289
thread by: Bryan | last post Jul 19 '05 by: Bryan
oki, this works fine, if you turn debug=1 .. set it 0, and it fails on exiting. im lost! anyone got any ideas or further reading for help ? thanks in advance.
0
1,263
thread by: Bob | last post Jul 19 '05 by: Bob
I have a file that was exported as an XML file using UFT-8 encoding. Is there a module that will allow me to convert the text so that it is readable on a Unix system. The text needs to be imported into a legacy system that does not understand UTF-8 so I end up losing some characters (',",`,\t etc). Any help would be greatly appreicated.
0
1,518
thread by: Dave Horoschak | last post Jul 19 '05 by: Dave Horoschak
I am looking for some additions to a Perl-based auction script. I need to set up a system that allows buyers and sellers to e-mail each other without sharing their contact information. This will include some mechanism that uses my auction site as a proxy for the messages and a parser of the e-mail messages to identify any contact information...
0
1,508
thread by: Pradeep George Jacob Kalampukattussery | last post Jul 19 '05 by: Pradeep George Jacob Kalampukattussery
Hello- I have OLE objects (mostly word and excel) stored in a field in an Oracle database. I need to extract them and save them as files on the filesystem (MS Word and MS Excel files). I used the DBI module to query the database and get the OLE into a scalar variable - I read through the Win32::OLE module but didn't get a clue on how to...
0
2,066
thread by: driven | last post Jul 19 '05 by: driven
can some one help me get started with this module, it appears that it very difficult to work with; all I am wanting to do is connect to local QManager and inquire Queue's QDepth. Any help is kindly appreciative
0
1,652
thread by: Alex Lyman | last post Jul 19 '05 by: Alex Lyman
I've been using ActiveState's PPM3 to install most of my modules, but I've found it doesn't have many very useful modules. This was mostly forced, since I could never get the CPAN module to actually build the modules. This morning, I finally had enough, and decided to try and figure out exactly what was wrong, and try to fix it. Nomatter...
0
1,989
thread by: Andrew Zhilenko | last post Jul 19 '05 by: Andrew Zhilenko
Hello! We use embedded Perl (5.8.2) into the RADIUS server (using persistent interpreter as described in perlembed). The problem is if the Perl code uses some module, which is not available on the local system (e.g. Crypt::CBC) the evaluation fails with "panic: top_env" message and the whole process exits... Any ideas or suggestions how it...
0
1,985
thread by: egkua | last post Jul 19 '05 by: egkua
I have two perl processes and I run them using nohup to run in the background. However there is a case where the 2nd program run 1st before the 1st program. How do I control it to have the 2nd one run after the 1st one? I need to run them in backgound and if the 1st one failed the 2nd one will stll be running.
0
1,541
thread by: Nigel Leach | last post Jul 19 '05 by: Nigel Leach
Hi, I have a script that runs perfectly natively. However, when compiled (using perlapp from ActiveState's Dev Kit) it fails to run from a DOS command window, and fails with … Can't locate object method "load" via package "Win32::Exe::PE" at /PerlApp/Parse/Binary.pm line 453. I assuming, perhaps naively, that this is something that can be...
0
1,460
thread by: ras | last post Jul 19 '05 by: ras
I am from Sweden and I am trying to use Simple Search from Matt's Script Archive on my home page (web server is located in the United States) but it cannot find anything with Swedish special characters in it. Does anybody know if something can be done, or where I might find some info about how to do it myself? Any help would be most...
0
4,059
thread by: Kevin Cheramie | last post Jul 19 '05 by: Kevin Cheramie
I'm unsure how to break down and use what is returned by expect in the rest of my script. I want to issue a command and split the results of that command into several different variables. I then want to use those variables in the rest of my script. Here is a snipet: $expcxn = Expect->spawn("telnet 10.10.10.10\r") or die "Cannot spawn...
0
1,525
thread by: Alistair Steger-Lewis | last post Jul 19 '05 by: Alistair Steger-Lewis
I need to have a perl cgi script move files from the machine it is running on to a mounted server volume. This is complicated by the fact that the files are images with resource forks (on MacOSX) and the destination is a windows machine. As they are mac files I need to use ditto, but the line system "ditto", "--rsrc", "/source/file/path",...
0
3,141
thread by: Mo | last post Jul 19 '05 by: Mo
I'm trying to use Net::MSN 1.022 to IM from a Perl script. I am not having any luck, but I think it is because Microsoft updated the Passport stuff and the Net::MSN hasn't been updated. Has anyone else seen this and/or know a work around? I've been tinkering with the .pm files, but I'm not very familiar with the way MSN's login stuff works....
0
3,311
thread by: Carlo Filippini | last post Jul 19 '05 by: Carlo Filippini
Hi I am trying to control my mobile from my WinXP machine. The mobile is connected through USB which is mapped on COM 5. With Hyperterminal everything looks good. But when I try: --------------------------------------------------------------- use Win32::SerialPort qw( :STAT 0.19 ); $ob = new Win32::SerialPort ('COM5') || die "Can't open...
0
1,736
thread by: D. Jackson | last post Jul 19 '05 by: D. Jackson
I've looked high and low for this answer and have finally landed here to ask the question: I want to distribure perlglob.exe with a compiled perl application (created with the PAR package on Windows). Is including a copy of the GPL sufficient to cover licensing issues? Or should I include win32/perlglob.c in my distribution along with the...
0
4,585
thread by: Björn | last post Jul 19 '05 by: Björn
Hello, Starting to code a robust routine to add two arrays element by element $new = $a + $b ... I thought that this should already be done and searched CPAN for a sutiable module. Despite Math:::Matrix I could not realy find much and the ::Matrix module seemed to be more that I needed...
0
1,458
thread by: Richard Eichhorn | last post Jul 19 '05 by: Richard Eichhorn
I am new to encryption, and am trying a determine how to encrypt a file using RSA encryption in perl. The module Crypt::RSA only allows for encryption of strings rather than a whole file. Are there any modules which can do the job?
0
1,217
thread by: Jos Gebe | last post Jul 19 '05 by: Jos Gebe
Hi, I have to do multiple snmp read actions on the same time ??? How can i do that ?
0
1,550
thread by: Reynold DeMarco Jr | last post Jul 19 '05 by: Reynold DeMarco Jr
I have created a new group for college students Please join http://groups.yahoo.com/group/study_hall/
0
469
thread by: study_hall | last post Jul 19 '05 by: study_hall
Computer Science majors Students helping Students join study_hall http://groups.yahoo.com/group/study_hall/
0
1,971
thread by: RJB | last post Jul 19 '05 by: RJB
I'm moving an application from XP to Linux. The XP version of the application uses com automation to instantiate an instance of IE6 and then drive it to various web sites. These are generally fairly sophisticated with content driven by scripts, involve frames, etc. I need to measure the time between the start of navigation and its...
0
1,815
thread by: flamencoman | last post Jul 19 '05 by: flamencoman
Hi, Has any one used the XML::Parser module with the Subs style? The Perl documentation states: "Each time an element starts, a sub by that name in the package specified by the Pkg option is called with the same parameters that the Start handler gets called with.
0
1,617
thread by: Pedro Hernandez | last post Jul 19 '05 by: Pedro Hernandez
Hello! I have some (many) text files produced on windows system that I need to process a bit, so I wrote a perl script to do the job. The files contains characters used in Spanish (e.g. ó, é, ñ) and they doesn't come out right. I use RedHat 8 and it is installed with Spanish locale. LANG is "es_ES.UTF-8".
0
2,548
thread by: krigare | last post Jul 19 '05 by: krigare
CPAN 1.76 ncftp 3.1.7 Redhat 9 I am behind a firewall. I do have ncftp configured to handle the firewall settings. In fact I can manually (from the command line) do: #> ncftpget ftp.sedl.org/pub/mirrors/CPAN/MIRRORED.BY (The above command works fine)
0
1,352
thread by: Noah | last post Jul 19 '05 by: Noah
I inherited a large perl project with many small perl files spread out over different directories. The project is an admin tool with a cgi interface. I suspect that many of the files are no longer being used. Some entire directories may be obsolete. Is there a way I can identify the unused code? Basically I need to locate Perl files that...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.