Re: unsatisfied configure_requires in perl 5.12.3?

2014-04-22 Thread Daniel Staal
it. It will help both author and user. *Let me see what you are relying on, don't just expect it to be available.* That includes the toolchain: if you need a modern toolchain, say so. Daniel T. Staal --- This email copyright the author

Re: unsatisfied configure_requires in perl 5.12.3?

2014-04-22 Thread Daniel Staal
--As of April 22, 2014 9:46:26 AM -0700, Karen Etheridge is alleged to have said: On Mon, Apr 21, 2014 at 11:25:48PM -0400, Daniel Staal wrote: If you truly need a minimum version of CPAN, declare it. You can set a version of CPAN in the prereqs like you can set any other module

Question regarding GpgME.pm

2011-11-09 Thread Daniel Patrick Sullivan
Hi, All, Has anybody on this list even successfully implemented Crypt::GpgME to either encrypt or decrypt some data? I am a bit confused as from what I can tell the function list does not have the ability to decrypt... http://search.cpan.org/~flora/Crypt-GpgME-0.09/lib/Crypt/GpgME.pm#edit

Question regarding file stat setgid determination.

2011-10-29 Thread Daniel Patrick Sullivan
HI, All, I am banging my head against the wall on an issue that I think would be pretty simple; I'm trying to determine whether or not the current running script has the SetGUID file mode set on it and it is proving much more challenging than I had originally anticipated. I am using OSX version

A question regarding turning off the ornaments on Term::Readline

2011-10-29 Thread Daniel Patrick Sullivan
Hi, I have (another) question about resetting the ornaments on a Term::Readline instance. I can't seem to get the syntax correct on how to accomplish this. Basically I want to get rid of the underline in the terminal prompt; I am configuring the new terminal like this my $terminal =

Simple messaging program.

2011-03-15 Thread Daniel Calvo
their lines printed simultaneously? Can someone point me in the right direction? Much appreciated, ~ Daniel.

Simple messaging program.

2011-03-15 Thread Daniel Calvo
...@arcor.de writes: t 于 2011-3-16 8:31, Daniel Calvo 写道: while ($fh) { print; } t For the first look, you shouldn't be using for receiving data from t the socket. For more details, please loot at this article and its t comments: t http://www.perlfect.com/articles/select.shtml

SSL decrypt

2009-04-14 Thread Luis Daniel Lucio Quiroz
Hi Camels, I wonder to know if there is a perl module that let me to decrypt ssl traffic (if I have already private key), like ssldump or tshark does. Best regards, LD -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org

Re: How can I execute linux commands on terminal and catch the results?

2008-10-04 Thread Daniel Nascimento
Thanks for all! 2008/10/1 Andrew Smith [EMAIL PROTECTED] Hi Daniel You were caught by the trailing \n as John Krahn pointed out. insert a chomp $res; after your qx line or put a chomp around the qx statement. If you were to change your comparison to if ($res =~ /daniel/){ it would work

Re: How can I execute linux commands on terminal and catch the results?

2008-09-30 Thread Daniel Nascimento
Hello Andrew, thanks for your answer. I tried to do this way: *#!/usr/bin/perl -w $res = qx/whoami/; print $res; print -\n; if ($res eq daniel){ print Welcome, .$res. how are you?.\n; }else{ print Your name isn't daniel\n; }* when I executed this script I receive

How can I execute linux commands on terminal and catch the results?

2008-09-29 Thread Daniel Nascimento
it. If the user was already created the script has to print a message for user informing something like this user already created Somebody has a tip for me? PS: Sorry by my English. I'm not a good speaker... I'm learning yet. A big hug and thanks for all. Daniel -- To unsubscribe, e-mail: [EMAIL

please remove email address

2008-09-22 Thread Daniel W. Hurn
Please remove email address [EMAIL PROTECTED] Thank you.

Re: First time using Perl PDF::API2

2008-05-27 Thread Daniel Kasak
-- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http://www.nusconsulting.com.au -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: error in printing unicode

2008-05-08 Thread Daniel McClory
There are basically 3 lines that you'll want to be using if you're going to be using unicode in your perl scripts - one for input, one for output, and one for using unicode characters within the perl script itself. binmode STDOUT, :utf8; #this tells perl that the stdout is to be

Re: IDE for Perl in Linux

2008-05-05 Thread Daniel Kasak
On Fri, 2008-05-02 at 08:04 -0700, Rodrigo Tavares wrote: Hello, Today I write my perls scripts with a simple editor. I found this link http://www.enginsite.com/Perl.htm, but it run only in Windows. This link http://www.solutionsoft.com/perl.htm, contain the for linux, but have to

Re: sql and perl

2008-04-28 Thread Daniel Kasak
On Sat, 2008-04-26 at 23:24 -0400, Richard Lee wrote: Hello guys, I want to start learning about sql and how it interacts w/ perl. Great :) If you want to create nice GUI apps that talk to databases, check out my projects at: http://entropy.homelinux.org/axis Dan -- To unsubscribe,

problem using backslash on brackets in regular expressions

2008-04-22 Thread Daniel McClory
Hi, I have files which contain sentences, where some lines have extra information inside brackets and parentheses. I would like to delete everything contained within brackets or parentheses, including the brackets. I know that I am supposed to use the backslash to turn off the

Re: Debugger in PErl

2008-04-12 Thread Daniel Kasak
On Thu, 2008-04-10 at 03:44 -0700, jeevs wrote: Is there a good debugger for perl. I have an application running on Ubuntu , with apache and mod perl along with mysql. and we are into reverse engineering the product. And need to debug the code. Is there any debugger for perl other than the

New and not sure how to approach this?

2008-04-10 Thread Gladstone Daniel - dglads
on for 15 fields. I want to output/convert it pipe delimited ie: field1|field2|field3|field4 etc etc Can someone help get me started in the right direction Thanks Daniel H Gladstone [EMAIL PROTECTED] * The information

New and not sure how to approach this?

2008-04-10 Thread Gladstone Daniel - dglads
on for 15 fields. I want to output/convert it pipe delimited ie: field1|field2|field3|field4 etc etc Can someone help get me started in the right direction Thanks Daniel H Gladstone [EMAIL PROTECTED] * The information

Re: Writing into an MS-Access database

2008-04-08 Thread Daniel Kasak
. -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http://www.nusconsulting.com.au -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: [PHP] opening a big file

2008-04-07 Thread Daniel Brown
).. open(SOURCE, /tmp/file) || die not there: $!\n; while (SOURCE) { ## do something } Was there a reason this was sent to the PHP list as well? Maybe just a typo? -- /Daniel P. Brown Ask me about: Dedicated servers starting @ $59.99/mo., VPS starting @ $19.99/mo., and shared hosting

Re: [PHP] opening a big file

2008-04-07 Thread Daniel Brown
On Mon, Apr 7, 2008 at 11:44 AM, Richard Lee [EMAIL PROTECTED] wrote: Daniel Brown wrote: Was there a reason this was sent to the PHP list as well? Maybe just a typo? def a typo.. sorry about that No problem at all. Just checking in case the PHP question was missed

Re: GUI Toolkit - which one to learn? (GTK/GTK2/Tk)

2008-02-19 Thread Daniel Kasak
on Linux, Windows and OS-X, and they all run great. See http://entropy.homelinux.org/axis for some screenshots of inhouse systems, and also some of my open-source stuff. -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676

Perl libs polluting root directory

2008-01-19 Thread Daniel D Jones
I'm running Gentoo, which does not yet have version 5.10 in the tree. I downloaded and installed version 5.10 from source. (I'm not certain that this is the cause of the issue, but it's the only thing I can think of.) Now, Perl/CPAN appears to be putting packages into my root directory:

Re: Gtk2-Perl!How to change color of the selection bar in widget Gtk2::SimpleList?

2007-12-03 Thread Daniel Kasak
/TreeViewColumn.html#_tree_column_set_cel This allows you to set things based on the data in your row / column. Note that your Gtk2 theme will STILL override this for the currently selected row, which is a pain, but I haven't found a way around it yet ... -- Daniel Kasak IT Developer NUS Consulting

how to add .h files to .xs

2007-11-19 Thread Daniel
Hi, I am handling a project needing to call DLL by perl. I wrote the core code in C++ and I want to call these classes and functions in .xs. However, I don't know how to achieve this... First of all, I must include .h files in .xs, so I should add .h files in the same directory as .xs. I want to

Re: about formatted text

2007-10-27 Thread Daniel Kasak
On Sat, 2007-10-27 at 14:18 +, camotito wrote: The program I am using (that is running over windows) can only read the first line in the modified file. When I open the modified file with notepad I see an square at the end of each line.And all the lines are in one line. For a Windows

Re: Linked lists

2007-09-13 Thread Daniel Kasak
and go with scope. What if not enough memory is available? Perl does all memory management for you. If your process runs out of memory, it's up to the OS to do something, which could be to kill your process, or maybe to kill another process. -- Daniel Kasak IT Developer NUS Consulting Group

Re: Do it with Perl or not

2007-09-01 Thread Daniel Kasak
On Sun, 2007-09-02 at 00:53 +0800, Rafael Morales wrote: Hi list, This my situation I love Perl, and I need to create a GUI program for a school, but this is my problem: - In the school all machines are under Windows (different versions). - So I don`t know what to do, I must to code the

Re: parsing HTML content

2007-08-30 Thread Daniel Kasak
. I use LWP::Simple to fetch stuff, and HTML::TreeBuilder to parse it and extract stuff. -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http

New to Perl

2007-08-10 Thread Gladstone Daniel - dglads
Good Morning all, 1) I am new to Perl 2) Running ActiveState Perl 3) Trying to find/install a module: Spreadsheet::WriteExcel 4) Can anyone provide me instruction on: a) where and how I can get it? b) How to install it on my PC Thanks Daniel H

Re: [OT] How do you use Perl?

2007-08-08 Thread Daniel Kasak
products [e] Biological analysis [f] others GUI apps, with gtk2-perl and stuff at http://entropy.homelinux.org/axis -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED

Re: Sending HTML Email Using EMAIL::MIME::CreateHTML

2007-08-03 Thread daniel bosold
On Fri Aug 3 13:22:11 2007, Travis Hervey wrote: I am using the Email::MIME:CreateHTML module to send html formatted emails. It all works fine until I try to change the To line to a scalar so that I can mass mail to different individuals. Has anyone used this module in a manner like this

Re: perl IDE

2007-07-29 Thread Daniel Kasak
Tony Heal wrote: I am looking for a good IDE for perl, I have eclipse and one of it's plugins, but I am wondering if I a spinning my wheels trying to set this up when there may be a better alternative. Eclipse and EPIC are the way to go. It's a little tricky to get it working for larger

Re: perl IDE

2007-07-29 Thread Daniel Kasak
Eko Hermiyanto wrote: Well, is there anything better than GNU Emacs? Did you read my response? Please don't top-post. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: Writing a Program

2007-07-17 Thread Daniel Kasak
you out if you get stuck. -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http://www.nusconsulting.com.au -- To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Formats for invoices.

2007-06-28 Thread Daniel Kasak
://perldoc.perl.org/perlform.html Hope this helps! Also check out PDF::ReportWriter: http://entropy.homelinux.org/axis -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website

Parsing a file within a jar file

2007-06-27 Thread Daniel W. Hurn
Does anyone have any suggestion on how to examine/parse a file within a jar file? -- Dan

Re: Gtk2::GladeXML and TreeView

2007-06-21 Thread Daniel Kasak
the columns to the treeview, and then connect the model to the treeview. I have some examples of setting up different kinds of columns ( including some custom renderers ) in my project, Gtk2::Ex::datasheet::DBI, which you can find at: http://entropy.homelinux.org/axis Dan -- Daniel Kasak IT Developer NUS

Re: create gui

2007-04-04 Thread Daniel Kasak
) - report builder exports direct to PDF - big plans for the next 12 months :) See the screenshots / examples on my webpage for more details ... -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989

Not Sure how to start or what to use

2007-02-28 Thread Gladstone Daniel - dglads
I have a text file that can be anywhere from 40,000 lines to 120,000 Lines, I want it to split the file so that no file is larger then 20,000 lines 1) run a line count 2) split the file into pieces * The information

Home directory

2007-02-25 Thread Daniel Kasak
Hi all. How do I, inside Perl, get the path of the home directory? I assume if I can do this, it will only work under Linux / Unix? -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email

Re: perl6::form simple reporting

2007-02-20 Thread Daniel Kasak
Ken Foskey wrote: I have a script that takes an sql and formats into a report, simple stuff. I have a product that when it changes I want a sub heading. I have coded this. if( $prior_product ne $sql_product ) { print form... $prior_product = $sql_product; } Is there a better

ExtUtils::MakeMaker and packaging things

2007-02-20 Thread Daniel Kasak
Hi all. I'm writing an app in Gtk2-Perl. I want to include things like glade XML files, and images. How do I go about that? I would like to be able to do something like create an app folder: /usr/share/some_application and dump stuff in there. Can I do that? How? Dan -- To unsubscribe,

libgdbm

2007-01-28 Thread Daniel D Jones
I'm trying to install Apache2::ServerUtil from CPAN. During make, I get the following complaint: * WARNING * Your Perl is configured to link against libgdbm, but libgdbm.so was not found. You could just symlink it to /usr/lib/libgdbm.so.3.0.0 *

Re: libgdbm

2007-01-28 Thread Daniel D Jones
On Sunday 28 January 2007 11:58, Daniel D Jones wrote: I'm trying to install Apache2::ServerUtil from CPAN. During make, I get the following complaint: * WARNING * Your Perl is configured to link against libgdbm, but libgdbm.so was not found. You could just

Any Perl graphing libraries with alpha blending?

2007-01-14 Thread Daniel Kasak
I'm after a Perl graphing library that includes alpha blending support. I've checked out GD::Graph, but it *doesn't* support alpha blending. Are there any options? I know of jpgraph for PHP ( which is excellent for open-source stuff, but the commercial license is too expensive ). -- Daniel

Re: pdf to excel

2006-12-21 Thread Daniel Kasak
oryann9 wrote: I have a scanned PDF file and I want to convert its data so I can store it in an xls file. What module(s) do you recommened? I saw File::Extract::PDF ? If you've scanned it, chances are the PDF doesn't contain any text that you can extract. It will just be 1 image per

GD::Graph and alpha blending

2006-12-17 Thread Daniel Kasak
examples ( googled, honest ). Has anyone done alpha blending in GD::Graph, in particular inside bars? Seen any example code around? -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email

Re: Free PERL Editor

2006-12-02 Thread Daniel Kasak
Suja Emmanuel wrote: Hi all, Could you please suggest me any good PERL editor which is available in open source tools. I have tried 'EngineSite Perl Editor -LITE' and 'PerlExpress' which I am not comfortable with. Kindly refer me some good bug free tools. Eclipse IDE with

split and grouping in regexp

2006-10-30 Thread Daniel Kasak
by dashes, and if I do: my ( $, $mm, $dd ) = split /\//, $mmdd; it works for dates separted by slashes. Why can't I do both at the same time? -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2

PDF::API2 and content index

2006-08-27 Thread Daniel Kasak
Hi all. Does anyone know if it's possible to create a content index with PDF::API2, so people viewing the PDF can click in the index and go straight to the corresponding page of the PDF document? -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW

Re: Linux

2006-08-08 Thread Daniel D Jones
On Monday 07 August 2006 19:57, Ryan Dillinger wrote: Hello All, I just recently loaded linux onto my laptop. I hope this was not a bad move. But I cannot find the Activstate Perl I downloaded.I am using openSUSE Linux. You almost certainly have Perl already installed. Open any of the

debugging Perl with the Eclipse IDE

2006-07-29 Thread Daniel D Jones
I'm not sure if this is a Perl problem or an Eclipse problem, but I'm hoping someone here will know the solution. I'm trying to debug Perl under the Eclipse IDE. I recently reconfigured my network, which resulted in changing my local IP from 192.168.1.12 to 192.168.2.12. When I try to run

Re: math formula substitution and evaluation

2006-07-16 Thread Daniel D Jones
On Saturday 15 July 2006 21:13, Rob Dixon wrote: Daniel D Jones wrote: Given something like the following: my @variables = [3, 7, 13, 4, 12]; You want round brackets here. You've created an array with just one element, with a reference to an anonymous array as its value. Doh! Knew

Re: math formula substitution and evaluation

2006-07-16 Thread Daniel D Jones
On Sunday 16 July 2006 07:26, Paul Johnson wrote: On Sun, Jul 16, 2006 at 05:48:10AM -0400, Daniel D Jones wrote: It certainly does help. I thought about substitution but couldn't come up with a syntax. This seems to be exactly what I was looking for, but I'm running into a problem

Re: math formula substitution and evaluation

2006-07-16 Thread Daniel D Jones
On Sunday 16 July 2006 13:20, Charles K. Clarkson wrote: Daniel D Jones wrote: : Ah! Simple change: Subroutines should not normally operate on external data. What do you mean by operate on? I avoid altering external data, but I don't see the harm in reading external data. Too

math formula substitution and evaluation

2006-07-15 Thread Daniel D Jones
Given something like the following: my @variables = [3, 7, 13, 4, 12]; my @tests = (2*a+b==c, c-d+a==e); I need to be able to evaluate the mathematical truth of the tests, using the values from @variables, where $variable[0] holds the value of the variable 'a', $variables[1] holds the value of

Re: Detecting line terminators in a CSV file

2006-07-03 Thread Daniel Kasak
John W. Krahn wrote: Daniel Kasak wrote: John W. Krahn wrote: perldoc -f binmode binmode is what I was after - thanks :) Then don't forget to use the correct characters for this: \015 for Carriage Return and \012 for Line Feed; as using \n may get translated

Detecting line terminators in a CSV file

2006-06-29 Thread Daniel Kasak
! ); return FALSE; } } -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http

Re: Detecting line terminators in a CSV file

2006-06-29 Thread Daniel Kasak
*that* is useful. Thanks :) -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http://www.nusconsulting.com.au -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Windows: Fork and run a process in the background

2006-06-06 Thread Daniel Kasak
Greetings. I'd like to trigger an application to open ( Acrobat Reader ), and *not* freeze my perl app while it's open. Under Linux, I do: system ( evince /path/to/pdf.pdf ); The ampersand does what I need. This doesn't work under Windows. Is there a cheap nasty workaround? -- Daniel Kasak

Re: Windows: Fork and run a process in the background

2006-06-06 Thread Daniel Kasak
Timothy Johnson wrote: Try this: system( start evince /path/to/pdf.pdf ); Both cheap and nasty. That does it. Thanks :) -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989

Need to improve throughput - Any thoughts

2006-02-27 Thread Gladstone Daniel - dglads
I have a text file with around 1 million lines and I need to do a search And replace on over 9000 words. I am currently reading a line and passing A hash table against it and any matches it is replacing the word in the string. It is running real slow. Any thoughts on how to improve it? Daniel

Gtk2::GladeXML on Windows: permission denied

2006-02-06 Thread Daniel Kasak
Hi all. I originally posted this to the Gtk2-Perl mailing list, but got a total of 0 answers ... I'm trying to do an install of a Gtk2-Perl setup on Windows 2000, but not getting anywhere :( I've installed Gtk2 binaries and Perl and all modules ( for Gtk2, using the latest Win32 binaries

Script's command-line options under Windows

2006-02-01 Thread Daniel Kasak
Hi all. I've got an app than runs on Linux and Windows. I invoke it: script_name.pl USERID where USERID is a number that identifies the user. Under Linux, and under *some* Windows 2000 installations, I can then get the value of USERID: my $userid = shift; However I just noticed that on a

Re: Script's command-line options under Windows

2006-02-01 Thread Daniel Kasak
Timothy Johnson wrote: Just to clarify, you're able to invoke the script by typing script_name.pl, right? Yep. Because one possible reason would be that your file association somehow didn't take when you installed activeperl. Also, does it work if you do: my $userid =

Re: Script's command-line options under Windows

2006-02-01 Thread Daniel Kasak
Timothy Johnson wrote: One more question. Does it work if you do it like this? perl script_name.pl argument Yes, actually! Strange ... very strange. Thanks :) -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922

Re: Script's command-line options under Windows

2006-02-01 Thread Daniel Kasak
:) -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http://www.nusconsulting.com.au -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

convert unicode to ANSI or ASCII

2006-01-28 Thread Chan, Daniel
. Thank you, Daniel

Simplest Way

2006-01-19 Thread Gladstone Daniel - dglads
What would be the simplest way to remove leading and trailing blanks from a user input? Daniel Gladstone ([EMAIL PROTECTED]) *** The information contained in this communication is confidential, is intended only for the use

Need some help and direction

2006-01-06 Thread Daniel Gladstone
]}++; if ($rec[$cntfldnum] =~ m/\D/g) { print STDERR $rec[$cntfldnum] . - . $rec[0] . record # = . $records . \n; } Daniel Gladstone Email: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http

Re: why is 0 first?

2005-12-27 Thread Daniel Lord
And here I thought it was just because 0 comes before 1 ;-) On 27 Dec 2005, at 07:16, Adriano Ferreira wrote: I am curious what the reasoning behind the first element of something being zero is ($array[0]). I know I've read it before, but I can't remember. Thanks! Using indices 0 .. n

RE: Can we do gui testing using Perl

2005-11-15 Thread Daniel Kurtz
Well, you can test web apps in IE using SAMIE, although I've found Watir (which uses Ruby) to be more mature (even though it's 'younger'), easier to use, and with a more active community to lend a hand. Neither of them has a 'recorder' like WinRunner, strictly scripting. I'd give you the various

Re: New Line Character(s)

2005-10-27 Thread Daniel Kasak
:-) Same here usually. Thanks for the tip. -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http://www.nusconsulting.com.au -- To unsubscribe, e-mail

New Line Character(s)

2005-10-26 Thread Daniel Kasak
. What should I use to get Access to display a new line? -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http://www.nusconsulting.com.au -- To unsubscribe

RE: Need Some Guidance

2005-10-19 Thread Gladstone Daniel - dglads
I noticed that there is various version of Learning Perl + Perl Cookbook The most version (Version 4) costs the most. Does it matter the version if I want to learn or do I need to get the most recent version? What is the groups thoughts? Daniel Gladstone ([EMAIL PROTECTED

Re: Destroying an object

2005-10-18 Thread Daniel Kasak
Jeff 'japhy' Pinyan wrote: On Oct 18, Daniel Kasak said: I've got an OO object that I want to destroy from inside the object itself. sub destroy_self { my $self = shift; $self = undef; } But this doesn't work. What is the correct way of doing it? That's because you're not getting rid

Destroying an object

2005-10-17 Thread Daniel Kasak
Greetings. I've got an OO object that I want to destroy from inside the object itself. I'm trying: sub destroy_self { my $self = shift; $self = undef; } But this doesn't work. What is the correct way of doing it? -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific

Trying to undertsand a Program

2005-10-06 Thread Gladstone Daniel - dglads
Can someone help me understand what this line does? my ($tablename, $filepath, $ifilename, $ojob) = @ARGV; Can someone give me a good place to look verbs up so I can get a Better understanding of this program. I have ordered a book but it will take a week or more Daniel Gladstone ([EMAIL

Extracting data from the Properties tab of a jpeg

2005-09-06 Thread Daniel Smith
Hello all, I was wondering if someone could shed some light on my problem. I have over 1000 jpeg images that need to be added to a database that we run here on center. Problem is, the database folks want all of the metadata (Title, Subject, Keywords, Comments, Author) put into a text file

Re: GUI-based menu-ing script for UNIX

2005-08-31 Thread Daniel Kasak
to the documentation, was developed way back. http://members.aol.com/aumenu/index.html Thank you. Try gtk2-perl: http://gtk2-perl.sourceforge.net/ It rocks. It *seriously* rocks. You can use Glade to build your GUI too :) Glade is very nice. Check it out if you haven't already. -- Daniel

RE: Directories into arrays, again.

2005-08-29 Thread Daniel Kurtz
From: JupiterHost.Net [mailto:[EMAIL PROTECTED] Or weren't. So its working now then? What changed? Changes to the file system wrought in the shell are not visible to the calling Perl program until the shell's file handle is closed or otherwise reset. Simply had to close() the file handle

RE: Need a list of files in a dir.

2005-08-26 Thread Daniel Kurtz
Ooh ooh ooh! One I know! open(COMMAND, dir |); @files = COMMAND; Daniel -Original Message- From: Luinrandir [mailto:[EMAIL PROTECTED] Sent: Thursday, August 25, 2005 21:33 To: beginners@perl.org Subject: Need a list of files in a dir. How do I get the list of files in a DIR and put

RE: Need a list of files in a dir.

2005-08-26 Thread Daniel Kurtz
Bob Showalter wrote: Please tell me you're kidding. Why? It works. The question asked how you can do it, not the BEST way to do it. And after a week of Perling, this was the one way I knew. Now I know two ways. g daniel -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Directories into arrays, again.

2005-08-26 Thread Daniel Kurtz
); # Execute a command that backs up every file in the directory # with a .bak extension. opendir( DIR2, .); @after = readdir(DIR2); closedir(DIR2); Why does @after end up looking exactly like @before? Is there some buffering going on here? And if so, how do I clear it? daniel -- To unsubscribe, e

RE: Directories into arrays, again.

2005-08-26 Thread Daniel Kurtz
Sorry, obviously the code is supposed to read: opendir( DIR1, .); @before = readdir(DIR1); closedir(DIR1); # Execute a command that backs up every file in the directory # with a .bak extension. opendir( DIR2, .); @after = readdir(DIR2); closedir(DIR2); It still doesn't work. daniel

RE: Directories into arrays, again.

2005-08-26 Thread Daniel Kurtz
IS piping additional messages to the shell. Is open() the only means of doing that? daniel -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

RE: Directories into arrays, again.

2005-08-26 Thread Daniel Kurtz
(or die $!;) will show you what is wrong :) No, the .bak files are there. You can see them when you look at the directory in Windows Explorer, or do a DIR from a command prompt. They just aren't visible to the Perl script. Or weren't. daniel -- To unsubscribe, e-mail: [EMAIL PROTECTED

RE: Need a list of files in a dir.

2005-08-26 Thread Daniel Kurtz
From: Randal L. Schwartz [mailto:[EMAIL PROTECTED] Daniel Why? It works. Not on Unix it doesn't. And there are far more Unix installations of Perl than Windows installations of Perl. Good point. Although... while I'm certain that a higher PERCENTAGE of Unix systems have Perl than Windows

RE: Need a list of files in a dir.

2005-08-26 Thread Daniel Kurtz
the file names. Actually, use the /b switch and you do get just the file names. I agree now that Perl gives you easier ways to do it (actually, I pretty much assumed that was the case all along, I just hadn't had time yet to find out what those other 'proper' ways were.) daniel

Re: array of hashes of arrays...

2005-08-16 Thread Daniel Mueller
On Monday 15 August 2005 22.47, Ryan Perry wrote: How can I do this correctly? foreach my $col (@columns) { my %{$col} = ( string = $col, number = [EMAIL PROTECTED] ); push (@graph,

Writing PNG data to a file

2005-08-14 Thread Daniel Kasak
the above code work under Windows? How do I write binary data to a file so it works? -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http

Re: Writing PNG data to a file

2005-08-14 Thread Daniel Kasak
Toby Stuart wrote: use binmode my $png_data = get($http_request_string); open ( OUTPUT_HANDLE, $path/top_n.png ); binmode OUTPUT_HANDLE; print OUTPUT_HANDLE $png_data; close OUTPUT_HANDLE; That's it. Thanks :) -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific

Regular expression not working as expected

2005-08-11 Thread Daniel Kurtz
=~ /a{2,4}/ = true fa =~ /a{2,4}/ = true What am I doing wrong, or misunderstanding? Daniel Kurtz

RE: Regular expression not working as expected

2005-08-11 Thread Daniel Kurtz
that if you want n or MORE adjacent matches, use {n,}. In my experimenting so far, {n}, {n,} {n,y} are all having exactly the same effect, which is not what the tutorial suggests. O well, I'm rewriting the thing anyway, so I guess I've found something I need to correct. daniel Hope that helps you

ANNOUNCE: Axis Not Evil 0.2 ( Gtk2::Ex::DBI, Gtk2::Ex::Datasheet::DBI, PDF::ReportWriter )

2005-08-01 Thread Daniel Kasak
Greetings. I'm pleased to announce a round of upgrades to the packages making up Axis Not Evil: http://entropy.homelinux.org/axis_not_evil Axis Not Evil is a suit of open-source, cross-platform Perl modules that combine to provide an alternative to a /'leading'/ software vendor's RAD design

Get Image Dimensions

2005-07-25 Thread Daniel Kasak
if that satisfies my requirement of working on Windows ... easily. There are binaries available for Windows, but I'm not sure whether they're current or supported in any way. Any suggestions? -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T

CGI Question on WinXP

2005-07-04 Thread Daniel Brown
into the tools folder alongside perl.exe and it will work or am I going to have to install the modules on each user machine to get to use the modules with Perl? Cheers, Daniel __ This email has been scanned by the MessageLabs

  1   2   3   4   5   6   >