Visit Experts Exchange from your mobile device to search, ask, and monitor your questions. Never lose touch again.

Preview From Your Desktop
 

Having problems asking a question? Have a general question about Experts Exchange? Let us know!

 
Time Tested Perl Solutions: 101 - 125 of 1903
 
how can i pass an argument to perl script when i call it, for example when a link is clicked it goes to a certain url , but i want the address  to remain the same so i thought if the site has ...
Hi World! Actually I have two questions, first one: I have a perl script that does a select from a DB2 database and stuffs the data in a variable like this: ---------------------------...
I wrote the following code using if else statements. If I change the above statements to switch cases will it be faster or will they be the same speed. If change to switch will make it fas...
Hi, I want to write a function to manipulate the variable that's passed into it, but if it's an array or hash i want to do the change to each member.  is there an easy way to tell what type...
I am wondering if anyone knows how to use MAMP with Perl. I saw a cg-bin while I was looking through the folder, but can't find anything in the docs. Thanks, Ryan
I'm doing a computation and that will result in 3 variable (Document name, document value, document term frequency) The values of the computation is in 3 separate variable, so I was thinking o...
I would like to a write a simple perl script to login to Oracle sqlplus, execute certain commands and exit. I am new to Perl .. Can any one suggest easier way to do that.. $login = 'sqlpl...
HI am not sure what I am missing, I cant seem to install any cpan modules, I get this error: Make had returned bad status, install seems impossible I put nmake.exe in d:\perl\bin i th...
I'm looking for a way to generate the output of strftime() without the need for Date::Format.  This module is not available. Thank You
I have 1000+ files scattered in a 10+ folder deep Windows folder structure. Some of these files came from Linux and others came from an Apple Mac. Several of the filenames (I do NOT ca...
Hi, I tried to perform perl inline edit to replace a string. The file I tried to modify is shared through NAS drive through different platforms (UNIX & WINDOWS). But, I can pretty much edi...
I am trying to push a system call into an array in PERL. I need this "buffered" for later use in the program...  I know this works push(@scc_buffer, "test"); print "@scc_buffer"; or ...
Experts, I plan to put PERL in my resume. (not changiing jobs right now) Can you put down some questions here which you think u'd ask in an interview with a PERL candidate?? Manav
I have a script that needs to execute a command that has been tested and works on a command line, but it gives me this error: sh: -c: line 1: syntax error near unexpected token `|' sh: -c:...
I am installing swatch (module for use by Snort) and it requires several specific modules, like date, time formatting, etc.  Using ActiveState Perl, I tried to prepare the code but the above e...
I would like to use Perl to pull out session information out of a saved pcap file. For example say I have a pcap file that captured some UDP and TCP sessions. I would like to run the tool like...
Hi people,     How can I delay processing of some statements in a program. Example: print "hello1"; { #delay this by 10 seconds print "hello2"; } So after printing hello1, hello2 sh...
Hi, I have a large but simple XML file (10gb) that i need to split into a group of smaller files, no larger that 1gb. Is there a simple perl script that i can use to perform this task ? ...
I have created a script to download several zip files over 50 files. There are two problems that I am running into, first there are two folders in the directory were the files are. The folders...
We have a site using Uber Uploader (http://uber-uploader.sourceforge.net) but I just found a wired issue. The problem is, if the uploaded file is larger than 127MB, it will give a "Failed T...
Hi all, I'm pretty much looking for two things in this particular example.  I'm running a small script which will test if a socket is (22/tcp in this case) is non-responsive or if there is ...
In perl lets say i have an array that has string elements in it. Lets say I want to find out if a specific string is an element in the array, how would i do that? my @myarray = {'Joe", "Lis...
I'm using LWP::UserAgent to scrape data from a site. to hide my IP i used proxy that i found from web as they let ppl use as free. but it is not working. pls guide me what is the write way to ...
I am writing a perl script which should report the space used by a database in a single excel sheet daily, mean to say that it should append the data in the same spreadsheet. So how do I devic...
I have a variable HV *myHash - which may be a simple Perl hash, an object or a tied variable. I want to make a copy of it (its variables) into a new variable myHash2, and destroy it afterwar...