Problem with HTML::TreeBuilder and look_down()

2010-06-14 Thread Craig
r a V6. You got lucky, free parts from GTM! :-)Bye,Bertram The leading Audi Turbo power: PROPER BO! v.s Can anyone give me a clue as to why this is happening? Thanks, Craig -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h..

Re: Is Larry Wall member of this mailing list

2009-11-04 Thread Craig
On 11/04/2009 11:24 AM, Dermot wrote: 2009/11/4 Parag Kalra: Hey Folks, Its good to see veterans like - 'Randal L. Schwartz', 'Brian D Foy' replying on this mailing list. So just out of curiosity wanted to if Larry Wall is also member of this mailing list. I know this is not a query to as

Re: free perl editor wanted

2009-02-18 Thread Craig
i use emacs and i like it. --- On Wed, 2/18/09, Alexander Koenig wrote: From: Alexander Koenig Subject: Re: free perl editor wanted To: beginners@perl.org Date: Wednesday, February 18, 2009, 3:29 AM itshardtogetone wrote on 02/09/2009 12:22 AM: > Can someone introduce me a free Perl editor tha

Re: free perl editor wanted

2009-02-08 Thread Craig
try emacs --- On Sun, 2/8/09, itshardtogetone wrote: From: itshardtogetone Subject: free perl editor wanted To: beginners@perl.org Date: Sunday, February 8, 2009, 5:22 PM Can someone introduce me a free Perl editor that also can easily produce html codes. Thanks

Debugger start problem

2008-11-18 Thread craig
tement in the program, other than comments and use (particularly use constant). To me it looks like Perl is a bit funged up. Does anyone have any suggestions how to unfung it? Thanks for being there, Craig MacKenna -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Question

2008-11-16 Thread craig
his Q. If anyone can suggest a more appropriate forum, I will try that if no answer is forthcoming here. Thanks for being there, Craig MacKenna How To Get a Head Without Hunting www.animalhead.com Los Gatos, CA -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: Comparing fields in 2 large files

2008-06-11 Thread Ferry, Craig
Hi Craig Please keep your responses to the perl.beginners group so that others can both provide input as well as learn from your experience. Thanks. I suggest you stick with Perl but process the data directly from the database. Take a look at the DBI module, which isn't a standard one and s

Comparing fields in 2 large files

2008-06-11 Thread Ferry, Craig
I do not have enough memory to read the files at one time into an array. Thanks in advance for ideas. Craig -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

remote hash question

2007-11-18 Thread Craig Petty
How can i get a remote hash over the internet like in a password cracker? Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how. http://overview.mail.yahoo.com/ -- To unsubscrib

Re: Time stamp not updating

2007-07-15 Thread Craig McKenzie
On 7/13/07, Mr. Shawn H. Corey <[EMAIL PROTECTED]> wrote: CM Analyst wrote: > Hi, > In the following script, I am inserting a time stamp. > The problem is that the time stamp ($sec) is not > incrementing. > > What am I doing wrong? > > > open (PORT, "+>COM1") || die "Can't Open Port\n"; > open

SOS - perl script

2007-05-08 Thread Craig Schneider
Hi Guys Following is a log file extract which I desperately need to covert to coma separated for an entire logile called access.log (squid proxy log) for reporting purposes. There has been some internet surfing abuse on a client's network. 1178606984.937 1 192.168.1.55 TCP_DENIED/407 1904 PO

RE: looping through a file

2007-05-07 Thread Craig Schneider
Hi Guys Following is a log file extract which I desperately need to covert to coma separated for an entire logile called access.log (squid proxy log) for reporting purposes. There has been some internet surfing abuse on a client's network. 1178606984.937 1 192.168.1.55 TCP_DENIED/407 1904 PO

Converting to log file to CSV

2007-04-11 Thread Craig Schneider
Hi Guys Thanks for all the help with the directory sorting, I'm still very new to Perl :) I'm now trying to use Perl to convert the below log file to CSV. 1176301248.555180 dhr-hr3.duys.co.za TCP_MISS/200 447 GET http://support.duys.co.za/DUYSIT/WebResource.axd? - DIRECT/192.168.10.3 image/g

Sorting dir output

2007-04-10 Thread Craig Schneider
Hi Guys How could I exec a 'dir' command on a dos system and put the output in an array, sort by date and the files that are older than 3 days be moved into a folder called 'history' Thanks Craig -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

RE: numeric and string conversions

2007-03-29 Thread Craig Rodgers
Thank you, I can't believe I hadn't found this before! -Original Message- From: Alan [mailto:[EMAIL PROTECTED] Sent: Friday, 30 March 2007 11:39 AM To: beginners@perl.org Subject: Re: numeric and string conversions On Wednesday 28 March 2007 23:46, Craig Rodgers wrote

numeric and string conversions

2007-03-29 Thread Craig Rodgers
at contains a single character that consits of the binary value of my loop counter. Ie the string [\x01] - the binary value of 1 as opposed to the ASCII/character value of it. Please any sugestions of how to perform such a task? Craig Rodgers Snr Tec

RE: numeric and string conversions

2007-03-28 Thread Craig Rodgers
moment it seems to me like the only way to find these things is to troll through all the docs hoping that you stumble across the right one. There must be a better way to do it!! Cheers and thanks again Craig -Original Message- From: John W. Krahn [mailto:[EMAIL PROTECTED] Sent: Thursday

numeric and string conversions

2007-03-28 Thread Craig Rodgers
at contains a single character that consits of the binary value of my loop counter. Ie the string [\x01] - the binary value of 1 as opposed to the ASCII/character value of it. Please any sugestions of how to perform such a task? Craig Rodgers Snr Tec

perl Question

2007-03-24 Thread Craig Petty
I got a question could i write a script that look for a ip on a network or would that be to hard to do for a newbie? It's here! Your new message! Get new email alerts with the free Yahoo! Toolbar. http://

Sysadmin script for POP3

2007-03-15 Thread Craig Schneider
Hi Guys I am very new to perl. This is what I need to do: I need to parse text files in the /etc/mail folder for account names. The contents of the text file looks like this: # # Springbok Trucking # sean: [EMAIL PROTECTED] seanm:[EMAIL PROTECTED] bruce:

beginners@perl.org

2007-02-09 Thread Craig Wood
I am trying to put xml data into mysql using perl I have: --- #!/usr/bin/perl -w use strict; use DBI; use XML::Parser; #create hash to hold values for expected column names my %row = ("name" => undef, "category" => undef); #connect to database my $dsn = "DBI:mysql:database=tester

Perl 5.6.0, AIX, Missing Module

2005-05-30 Thread Craig Moynes
I am using the File::Tail perl module. When I try to run my script I get the following error message: Can't locate loadable object for module Time::HiRes in @INC (@INC contains: /usr/opt/perl5/lib/5.6.0/aix /usr/opt/perl5/lib/5.6.0 /usr/opt/perl5/lib/site_perl/5.6.0/aix /usr/opt/perl5/lib/site_pe

Input template for data File

2005-05-19 Thread Craig Nock
I have a tab delimited file I wish to process via a Perl script. Different columns should be converted to a "Code", plus the value in the column, both written to a output file line. eg column 17 contains "7", corresponding output line is "1234 DC 7". This is reasonably straight forward, except th

Re: Spreadsheet::ParseExcel - Out of memory error

2005-04-27 Thread Craig Moynes
ers, On 4/27/05, Craig Moynes <[EMAIL PROTECTED]> wrote: > Hi Gents, >I tried both suggestions: > > # > # For each log in the array > # - grab the directory and name of the file. > # - send via sendmail > # > foreach $hashEntry ( @LOG

Re: Spreadsheet::ParseExcel - Out of memory error

2005-04-27 Thread Craig Moynes
Hi Gents, I tried both suggestions: # # For each log in the array # - grab the directory and name of the file. # - send via sendmail # foreach $hashEntry ( @LOGS ) { my ( $localfile)= $hashEntry->{name}; my ( $err_msg ) = ""; # error messag

Re: Spreadsheet::ParseExcel - Out of memory error

2005-04-27 Thread Craig Moynes
On 4/26/05, Wagner, David --- Senior Programmer Analyst --- WGO <[EMAIL PROTECTED]> wrote: > Craig Moynes wrote: > > Hi All, > > I am using the spreadsheet::parseexcel module to open up a series (31) > > spreadsheets and grab the row counts. > > > > Here

Spreadsheet::ParseExcel - Out of memory error

2005-04-26 Thread Craig Moynes
axRow}."\n"; } The problem I am running into is after 10 files (in testing all 31 files are the same source file with different names), and then I get an out of memory error. Anyone have any idea how I can clean out the memory. I have a feeling it might be some autocaching or somethin

Spreadsheet::ParseExcel - Out of memory error

2005-04-26 Thread Craig Moynes
ename($localfile).",".$oWkS->{MaxRow}."\n"; } Is there anything I can do to 'dump' the memory. My initial feeling is something in ParseExcel, or one of the dependencies isn't playing nice...or rather I am not letting it play nice through some inaction or action

Re: XML::RSS::Parser - ns_qualify failure

2004-12-08 Thread Craig Moynes
t the author as my next step and then send the result on to the list for archiving. Thanks for the tip, Craig On Wed, 8 Dec 2004 08:29:37 -0500, Bob Showalter <[EMAIL PROTECTED]> wrote: > Craig Moynes wrote: > > > > I installed XML::RSS:Parser from CPAN. > > Wh

XML::RSS::Parser - ns_qualify failure

2004-12-07 Thread Craig Moynes
n"; } Some of my own (n00b) investigations show that the version on cpan, and the version I installed from the cmd line too cpan are different, the cpan cmd is version 3.01 I beleve, and the version on the web is 2.15. It looks like the version downloaded uses a superclass XML::Parser. Linu

Re: Becoming Disenheartened - Everyone talks about Python and says Perl is old news.

2004-09-30 Thread Craig Harmon
I love your sense of humor! Made my morning. Randal L. Schwartz wrote: "John" == John W Krahn <[EMAIL PROTECTED]> writes: John> You might hurt his feelings, he didn't contribute to the third edition John> of Programming Perl. Actually, it's worse than that. I contributed to it, but wasn't credite

Re: OT: VIM perl indentaton

2004-08-27 Thread Craig Turner
(replying to digest) > > Gavin -- what happens if you just put > > > > set autoindent > > > > in your ~/.vimrc ? Does that not work ? > > No Doesnt work for me , I am using vim 6.2 on linux ( redhat AS 3 ). > Any clue ? This may be a confusion over definitions. Gavin, Ram, if you do the fol

RE: NTFS permissions cleanup

2003-07-06 Thread Craig Dayton
Jenda, The Windows 2000 ResKit contains the script, Filedacls.pl. Below is an partial extract of the scripts documentation. HTM, Craig Filedacls.pl: File DACLs Management Script This script tool displays and changes the discretionary access control lists (DACLs) of files and folders on local

Re: [perl_beginners] Tassilo's email signature

2003-06-18 Thread Pam and Craig Bailey
 I would also be interested in knowing this. After looking at the sig \ code - it looks like it's mostly printed backwards, rekcah = hacker, etc. I don't see how the code gets un-reversed though.   ---Original Message---   From: Sparrow, Dave Date: Wednesday, June 18, 2003 5:43:00 A

Re: Really stuck: DBI, mysqlPP.

2002-12-31 Thread Craig Williams
hehe ok, partly right. I did; @$fields = $sth->{NAME}; Craig "Jenda Krynicky" <[EMAIL PROTECTED]> wrote in message 3E11CE1A.16361.36E9ED7D@localhost">news:3E11CE1A.16361.36E9ED7D@localhost... > From: "Craig Williams" <[EMAIL PROTECT

Re: Really stuck: DBI, mysqlPP.

2002-12-31 Thread Craig Williams
Thank You! That worked. I had tried the {NAME} option before but I thought it returned a reference to the result array and so de-referenced it first, probably breaking it ;-) Regards, Craig "Jenda Krynicky" <[EMAIL PROTECTED]> wrote in message 3E11A19B.15415.363C20E1@localhos

Re: Really stuck: DBI, mysqlPP.

2002-12-31 Thread Craig Williams
Hi, Ok, I tried what you suggested below and upgraded mysql to the latest version 3.23.54(stable) and still get no results. To verify the statements do run, I changed the query to Select * from tablex and that works fine also added the die statements, no errors. thanks Craig "Dan

Really stuck: DBI, mysqlPP.

2002-12-31 Thread Craig Williams
type the above statement then it works. Also, if I put the above code into a loop and say force it to perform the operation 10 times, it will work for at least 1 of them. Is this a bug ? Where can I look next ? thanks Craig -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Does Perl have to be installed ?

2002-12-30 Thread Craig Williams
--- > On Mon, 30 Dec 2002 02:44:55 -, "Craig Williams" <[EMAIL PROTECTED]> wrote: > > > Sounds crazy I know but if I'm on a customers side with my CD of pl scripts > > I don't want to have to install Perl on their > > servers

Does Perl have to be installed ?

2002-12-30 Thread Craig Williams
Sounds crazy I know but if I'm on a customers side with my CD of pl scripts I don't want to have to install Perl on their servers just to run my code. Can I just put the binary files on the CD and run them ? thanks Craig -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

Re: setting up mysql and DBI package on win98

2002-12-30 Thread Craig Williams
You can't install mysql as a service on 98 so you must run the daemon from the command prompt. Not even sure it works on 98 to start with. C "Patricia Hinman" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have set up mysql application server on my pc, and >

More structure to my code

2002-12-30 Thread Craig Williams
ks on perl, very untouched subject ;-) thanks Craig -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Password entry field.

2002-08-27 Thread Craig Moynes/Markham/IBM
e Term::ReadKey; ReadMode('noecho'); $password = ReadLine(0); ----- Crai

Re: anonymous reference problems

2002-07-12 Thread Craig Moynes/Markham/IBM
Thanks, two little braces should solve all problems - Craig Moynes [EMAIL PROTECTED] "

anonymous reference problems

2002-07-12 Thread Craig Moynes/Markham/IBM
ike so: $oncall{$tmpEntry{'StartDate'}}->{x} = $tmpEntry{x}; $oncall{$tmpEntry{'StartDate'}}->{y} = $tmpEntry{y}; but that seem inelegant at best. Thoughts ? - Craig Moynes [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL

Re: Date

2002-07-12 Thread Craig Moynes/Markham/IBM
es you a plan Francesco Guglielmo To

Re: Date

2002-07-12 Thread Craig Moynes/Markham/IBM
, - Craig Moynes Francesco

RE: Perl programmer born and bred

2002-06-26 Thread Craig Hammer
Have you ever tried to wade through The Silmarillion? Craig Hammer -Original Message- From: Elias Assmann [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 26, 2002 3:45 PM To: Randal L. Schwartz Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Perl programmer born and bred On

Re: matching extracharacters

2002-06-24 Thread Craig Moynes/Markham/IBM
@matches = $var =~ m/\w{5}$something\w{5}/g should work I believe - Craig Moynes [EMAIL PROTECTED

RE: Serious pattern matching.

2002-06-14 Thread Craig Hammer
John, Thanks for the optimized version. The outfile isn't used yet. I have it sitting there because that is the next step. Craig Hammer Internal Infrastructure Team Lead Parago, Inc. 972-538-3936 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

RE: Serious pattern matching.

2002-06-14 Thread Craig Hammer
Langa, Take a look at this script. I created it to read my firewall log files, and then give me a sort and count per unique address. You could substitute a more traditional grep in place of the substitution I use. <> Craig Hammer Internal Infrastructure Team Lead Parago, Inc. 972-53

Re: Writing to an existing MS Excel file

2002-06-12 Thread Craig Moynes/Markham/IBM
As far as I know this isn't possible. Admittedly reading in an existing Excel file and then writing it out with changes is not as elegant is it an option ? - Craig Moynes Student-On-Call netCC Development Tel: (905) 316-3486 [EMAIL PROT

Re: Clearing Idle User login sessions - Re: Killing Idle Users

2002-06-12 Thread Craig Moynes/Markham/IBM
>>ps: on the Upside - I like Craig Moynes basic quick Port Thanks :) That's all I was going for, I was aching to do some coding this week and it seemed like a good excuse. I knew it was ugly usage of shell and the like, but a good base is a nice place to start from, broad st

RE: Killing Idle Users

2002-06-11 Thread Craig Moynes/Markham/IBM
l leave that up to you to decide :) Also the whole 'process getting and killing' could be put in a procedure accepting the user name and the message string ...but again you can decide on that. Glad you understood it, my first real hack at posting in here. -----

RE: Killing Idle Users

2002-06-11 Thread Craig Moynes/Markham/IBM
"idle for $idle.\n"; #qx!kill -9 $pid!; } } } - Craig Moynes [EMAIL PROTECTED]

Question about perl and HTML form elements

2002-06-06 Thread Craig, Ruth
Hi all- I'm relatively new to perl and I don't know much about which modules might be helpful--I was hoping some of you might have suggestions. Basically, I want to write automated scripts that deal with web-interfaces. For example, I want to be able to input data into web-forms, submit web form

RE: converting a hash to an array

2002-05-29 Thread Craig Hammer
Thank you Felix and Bob. I see I was approaching this compeltely wrong. Craig Hammer -Original Message- From: Felix Geerinckx [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 29, 2002 8:23 AM To: [EMAIL PROTECTED] Subject: Re: converting a hash to an array on Wed, 29 May 2002 12:58:33

RE: converting a hash to an array

2002-05-29 Thread Craig Hammer
ackk, I missed the $ in all of my re-arranging. The script still fails at the same place. The real error is: glob failed (child exited with status 1) at ./newlogscan.pl line 48. Craig Hammer Internal Infrastructure Team Lead Parago, Inc. 972-538-3936 -Original Message- From: Jackson

converting a hash to an array

2002-05-29 Thread Craig Hammer
uot;, $sorted{1}, $sorted{2} ) ; } I am trying to sort the hash values (by value, not key) and move the sorted results into an array, so that I can add additional fields later. I get an "Use of uninitialized value at ./newlogscan.pl line 46." error. Line 46 is the @sorted = line.

RE: uniq

2002-05-23 Thread Craig Hammer
hed a second time. Craig -- which makes more sense: a) sort a 1000 records, then remove duplicates; or b) remove the duplicates, then sort the remaining records The answer is, you can't be sure. It probably depends GREATLY on your data. Here are solutions for both a) and b). # a -- fro

uniq

2002-05-23 Thread Craig Hammer
. Is there something similar to uniq within perl? (I already have it sorting correctly) Craig Hammer Internal Infrastructure Team Lead Parago, Inc. 972-538-3936

Re: String with no contents and length of 21

2002-05-14 Thread Craig Moynes/Markham/IBM
Ok it was my fault :) It appears to be the sequence I use to set the title of my xterm, I guess it is grabbing it from my .profile when it tries to execute a command. Thanks :) - Craig Moynes [EMAIL PROTECTED

String with no contents and length of 21

2002-05-14 Thread Craig Moynes/Markham/IBM
d: !! Any ideas ? - Craig Moynes [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Installing modules without a C compiler

2002-05-13 Thread Craig Moynes/Markham/IBM
l.pod. A quick look at its contents show multiple copies of modules I have installed locally (due to not uninstalling I imagine). Does anyone know about the need for perllocal.pod ? Thanks again, - Craig Moynes [EMAIL PROT

Installing modules without a C compiler

2002-05-13 Thread Craig Moynes/Markham/IBM
where and what is installed, or perhaps a verbose install mode so I can see exactly what is going where. I have seen the TO_INST_PM rule, which seems like it may lead to what I am looking for. Should I watch for anything else ? Thanks for your help,

Oracle Error while trying to connect to oracle tables

2002-04-27 Thread Craig Inman
y line 85 Could not make the connection! I have checked some of the unix/oracle boards, but the only answer I have gotten is to set the variables in the user's .profile. Thought I would check with some of you perl mongers and see if you had run across this and had any other suggestions. Thanks, Craig

Re: how to install perl in HP-UX

2002-04-23 Thread Craig Sharp
Kitti, First you must unzip the file: gzip -d perl-5.6.1-sd-10.20.depot.gz Then you must install the file as root by running swinstall and pointing to the depot file. Craig A. Sharp Unix Systems Administrator DNS Administrator Roush Industries Office: 734-466-6286 Cell: 734-231-6769 Fax

Win32API::Time - setting the system clock

2002-04-18 Thread Craig C
Hi folks, Anyone know where to get hold of the module Win32API::Time ?? It's listed on ASPN but doesn't seem to be available through ppm or the obvious download lists. If there are any other suggestions for setting the system clock via a perl script I would be greatful. Tha

Re: Renaming a File

2002-04-10 Thread Craig Sharp
Allison, Here is the link for more information on the script. http://www.evolt.org/article/Renaming_Files_with_Perl/17/351/ Craig A. Sharp Unix Systems Administrator DNS Administrator Roush Industries Office: 734-466-6286 Cell: 734-231-6769 Fax: 734-466-6939 [EMAIL PROTECTED

Re: Renaming a File

2002-04-10 Thread Craig Sharp
enames]\n"; if (!@ARGV) { @ARGV = ; chomp(@ARGV); } foreach $_ (@ARGV) { $old_name = $_; eval $regexp; die $@ if $@; rename($old_name, $_) unless $old_name eq $_; } exit(0); Craig A. Sharp Unix Systems Administrator DNS Administrator Roush Industries Office: 734-466-628

Re: Beginner in Perl

2002-04-03 Thread Craig Sharp
You need to have a web server installed. The scripts are then put into the cgi-bin directory and accessed from a browser like this: http://host.com/cgi-bin/script.pl or http://host.com/cgi-bin/script.cgi IIS will handle cgi scripts just fine. See you documentation on setup. Craig A. Sharp

Re: simple assignment

2002-04-02 Thread Craig Sharp
rint "$a\n"; print "$b\n"; print "$c\n"; Have fun! Craig >>> Roy Peters <[EMAIL PROTECTED]> 04/02/02 03:42PM >>> gurus, OK, shoot me for asking a dumb question. I have a string of the following $str = "X1=1,Y1=2,Z1=3"; I want to

Analog Help

2002-03-29 Thread Craig Westerman
weaked the config file and need to check to see if I made proper corrections. Tweaking and waiting 24 hours for results isn't very productive. Thanks Craig ><> [EMAIL PROTECTED]

Re: output to a textfile

2002-03-19 Thread Craig Sharp
How about: select DATA; Then all print statements will write to that filehandle. Craig A. Sharp Unix Systems Administrator DNS Administrator Roush Industries Office: 734-466-6286 Cell: 734-231-6769 Fax: 734-466-6939 [EMAIL PROTECTED] I have

RE: :telnet and read eof error

2002-03-13 Thread Craig Williams
solved my own problem reinstalled the net::telnet module, somebody screwed with the module code -Original Message- From: Craig Williams [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 13, 2002 12:31 PM To: Beginners@Perl. Org (E-mail) Subject: net::telnet and read eof error In

net::telnet and read eof error

2002-03-13 Thread Craig Williams
In my first attempt at telneting into sun box from win98, i've been receiving the error message : pattern match read eof at scriptName.pl line xx-- where xx is the login line. Unable to resolve that error through the usual methods I tried executing the rainmaker sample in the documentati

Re: write to an Excel document

2002-03-12 Thread Craig Sharp
Check out Spreadsheet-WriteExcel available at www.cpan.org. Really great module for creating Excel spreadsheets. Craig A. Sharp Unix Systems Administrator DNS Administrator Roush Industries Office: 734-466-6286 Cell: 734-231-6769 Fax: 734-466-6939 [EMAIL PROTECTED

net::telnet and ActivePerl

2002-02-28 Thread Craig Williams
Running ActivePerl 5.6.1 and using the net::telnet module i get the following error: Argument "" isn't numeric in numeric gt (>) at C:/Perl/lib/Net/Telnet.pm line 2569. The script generating this is : #!perl -w use Net::Telnet; $telnet = new Net::Telnet ( Timeout=>10,

perl2exe

2002-02-27 Thread Craig Williams
Does anyone know - will perl2exe (or a different package to create an .exe) allow a perl script to be launched from windows explorer EVEN THOUGH the script is written for unix (and is sitting on a unix netowrk drive)? I have many perl scripts my users would find useful but all written to run on u

Re: How to copy and keep file permissions

2002-02-20 Thread Craig Eberly
Hmm, I've tried this but it doesn't seem to change the file permissions at all on the backup file. I checked into it, and my stat command or $mode in this case is equal to 33261. Is that a normal output for the mode in the stat command? I'm on a Solaris 8 system. Thanks, Crai

How to copy and keep file permissions

2002-02-16 Thread Craig Eberly
the backup process to break as well. Anyone have any ideas? Thanks, Craig -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: change all files in directory

2002-02-01 Thread Craig Williams
Somewhat related question: I want to ADD a file extension (there currently none)to all files that start with "FOO" so they will be named FOO.txt Is there a one liner that can accomplish this? -Original Message- From: Hanson, Robert [mailto:[EMAIL PROTECTED]] Sent: Friday, February 01, 2

Re: STDOUT from system call

2002-01-20 Thread Craig Inman
#x27; program does not consistently returning a true 1 or 0. The only 100% way to be sure it worked is to very that it outputs the real owner of the file. Thanks, Craig "John W. Krahn" wrote: > Craig Inman wrote: > > > > Trying to get this script to 'claimsubmit

STDOUT from system call

2002-01-19 Thread Craig Inman
DIRH) { my @claims = (grep(!/^\.{1,2}$/, $files)); if (system ("zowner $claims[0]")) { #(system("claimsubmit $claims[0]")); <-- once it works, i'll use this print "claimsubmitting $claims[0] \n"; } } Thanks, Craig -- To

appending to a file

2002-01-15 Thread Craig Williams
I'm probably missing something obvious here, but heck it's a beginners list. the first time the log file is generated it contains the correct data. However any time it tries appending data to the existing log file, nothing gets written to it. Any help is appreciated. #gather log data open (FH

shifting scalars ??

2001-12-07 Thread Craig Inman
open(B, $list2) or die while() chomp; if $_ =~ ? # this is where I'm getting lost, want to compare $_ from above () to $_ from () then I'm just printing my diffs so I can correc the necessary files. Any suggestions would be greatly appreciated. Thanks, Craig -- To u

Re: System COmmand's in Perl

2001-12-07 Thread Craig Sharp
system "tail -f /var/log/messages"; or exec "tail -f /var/log/messages"; Craig >>> David Lubowa <[EMAIL PROTECTED]> 12/07/01 07:45AM >>> how can i execute system commands in perl just like how i would do it while on console ..e.g tail -f /var/log/

Getting IP info on a Win32 platform

2001-12-03 Thread Craig S Monroe
I looked in PPM, but could not find a package that seemed to match. I am looking for a package that helps access the IP info on a windows machine. Any direction or help would be great. Thanks. Craig [EMAIL PROTECTED] Pager Numeric: 1-877-895-3558 Email pager: [EMAIL PROTECTED

perl and html table? Working now!

2001-11-30 Thread Craig Sharp
Thanks to all. All ideas are great and I was able to make the tables work as I need. Craig -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

perl and html tables?

2001-11-30 Thread Craig Sharp
retreived from the database. In other words, I need the table to be dynamic and add or remove table rows for each data row retreived. Can anyone provide an example of how to do this or point me in the right direction. Thanks, Craig A. Sharp Unix Systems Administrator DNS Administrator Roush Industries

Re: Script Help Please

2001-11-26 Thread Craig Sharp
John, Thanks for the info. I am a bit confused in the first part of the script. my %servers; (This is defining a hash?) open (I understand) { chomp (my @temp = ); (Removing the newline from each entry) @server{ @temp } =(); (What's this do?); } Thanks, Craig >>> "Joh

RE: [Perl-unix-users] Script Help Please

2001-11-26 Thread Craig Sharp
t+/|/g; s/missed //g; print "$_\n"; } close inlogfile; } } close listfile; close outlogfile; Thanks, Craig >>> Steve Aaron <[EMAIL PROTECTED]> 11/26/01 07:55AM >>> Try if (/\bUP\b/ && /$server_name/) You are not matching on

Script Help Please

2001-11-26 Thread Craig Sharp
2519 C:\Program Files\WhatsUp\b41.wup UP chaplin1 10.41.1.12 1 20010930 182519 C:\Program Files\WhatsUp\b41.wup UP ECOMMERC 10.41.1.11 1 —- Sample wuglist.txt machine_6 roush_app2 roush_liv7 roush_acct roush_mail3 roush_domai

Re: please unsubscibe me from this list.

2001-09-27 Thread Craig S Monroe
Tirumal You will need to unsubscribe yourself. The addresses for this are included in each email. For example, the unsubscribe email address ([EMAIL PROTECTED]) is located in your email below. Best regards, Craig [EMAIL PROTECTED] http://www.msbwebdesign.com Pager Numeric: 1-877-895-3558 Email

NET::FTP to retrieve files over HTTP?

2001-09-11 Thread Craig Paterson
is this possible? or is there another library i should use? I looked at the HTTP library but can't see how you would do it and save the file. -- Craig Paterson [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Interaction with html pages

2001-09-06 Thread Craig Tibbitts
I need to write a script to access a simple html form on a network device and perform specific functions on the form to acquire information. Does anyone have a sample script they would like to share? I just need to figure out how to access a web page and enter data into a form automatically. Tha

Re: I can't figure out what this reads

2001-08-24 Thread Craig S Monroe
I appreciate it Curtis. Good info... Craig [EMAIL PROTECTED] http://www.msbwebdesign.com Pager Numeric: 1-877-895-3558 Email pager: [EMAIL PROTECTED] -- You will never find time for anything. If you want time, you must make it. Charles

Re: I can't figure out what this reads

2001-08-24 Thread Craig S Monroe
x27;name') || ''; This will take the name value from your form and push directly into $name for you to work with. Craig [EMAIL PROTECTED] http://www.msbwebdesign.com Pager Numeric: 1-877-895-3558 Email pager: [EMAIL PROTECTED] --

Re: I can't figure out what this reads

2001-08-24 Thread Craig S Monroe
Brian, It looks as though you are trying to parse form content from a web page? I would recommend using cgi.pm. It is a lot easier... That is of course if that is what you are doing... Craig [EMAIL PROTECTED] http://www.msbwebdesign.com Pager Numeric: 1-877-895-3558 Email pager: [EMAIL PROTECTED

More problems printing dereferencing an array within an struct

2001-08-23 Thread Craig Moynes/Markham/IBM
children => '@', }; my %MIB_TREE; my $node = Object->new(); $node->name("Murray"); $node->id("ID3148"); @{$node->children} = ("Craig", "Scott", "Cara"); $MIB_TREE{$node->name} = $node; $node = Object->new(); $no

  1   2   3   >