Does anyone have suggestions for an active and easy to use XML building &
parsing module?
Doug Bradbury
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
2011/4/21 Jyoti :
> Hello All,
>
> Please give me any link or any tutorial which will be helpful for
> preparation of PERL interview.
>
There are lots. But, doesn't google give you any info you want?
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: begin
try add these options when new the DBI object:
PrintError => 0,
RaiseError => 0,
2011/4/15 Agnello George :
> Hi All
>
> In my code i am trying to connect to a db if it fails it should return
> 0 , this a web based script and it throws me internal server error
> and the apac
d block of code
work? Or otherwise accomplish the task without opening the .txt file
twice?
===
Douglas Cacialli, M.A. - Doctoral candidate
Clinical Psychology Training Program
University of Nebraska-Lincoln
Lincoln, Nebraska 68588-0308
===
On Sun, Apr 4, 2010 at 11:10 AM, Dr.Ruud wrote:
> Doug Ca
ces of something.\n";
}
}
}
close ($filehndl);
Otherwise, can someone suggest a more elegant way of accomplishing
this? It doesn't seem like I should have to open the file twice, as
I'm doing in the first block. I can't figure out any way around t
presented by Thomas and Dr. Rudd are a
little beyond me. I'm reading up now, but can someone shed some
light?
How can this be resolved in Windows with Strawberry Perl?
===
Douglas Cacialli, M.A. - Doctoral candidate
Clinical Psychology Training Program
University of Nebraska-Lincoln
Lincoln
27;ll post
the full code later this afternoon. Thanks again for all the help!!
===
Douglas Cacialli, M.A. - Doctoral candidate
Clinical Psychology Training Program
University of Nebraska-Lincoln
Lincoln, Nebraska 68588-0308
===
On Wed, Mar 31, 2010 at 4:08 AM, Dr.Ruud wrote:
> Doug Cacialli
I'm completely baffled by this and not entirely sure where to start.
I have a plain text file, testfile.txt, which contains a single line:
Very truly yours,
It is written exactly how you see it above, with a newline at the end.
I'm trying to write a script that will determine the number of wor
On Tue, Mar 16, 2010 at 9:13 PM, Doug Cacialli wrote:
> On Tue, Mar 16, 2010 at 4:36 AM, Dermot wrote:
>> On 16 March 2010 00:29, Doug Cacialli wrote:
>>> Hello list,
>>
>>>
>>> Building Lingua-Stem
>>> Can't locate Lingua/Stem.pm in @INC
On Tue, Mar 16, 2010 at 4:36 AM, Dermot wrote:
> On 16 March 2010 00:29, Doug Cacialli wrote:
>> Hello list,
>
>>
>> Building Lingua-Stem
>> Can't locate Lingua/Stem.pm in @INC (@INC contains:
>> C:/strawberry/perl/lib C:strawberry/perl/site/lib
>>
my linux distro, but I need to see this
work in Windows; it'd be easier convincing my advisor to buy me a BMW
than it would convincing him to switch from Windows, and he'll need to
run it on his system.
Can someone kindly get me back on track? Many thanks!
-Doug.
===
Douglas Caci
days and I can
assure you that nothing useful has come out. It has to be something simple I
haven't tried...
Doug Adams
match variables. The inner parens will still
capture for you. The trailing '?' says to match zero or one of the
whole thing.
Doug
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
see how to do that now.
>
> Thanks for the replies that provided the inspirition.
You're welcome. You could automate the process by using two variables
to set the ratio, then calculating everything off that. If you need
help in setting that up, give a holler.
Doug
--
To unsubscri
t,
etc.
When you need to change the ratio, you simply change the details. In
your example (ratio 3:2), you would use mod 5, and send remainders 0,
1 & 2 onto the one hard drive, and remainders 3 & 4 onto the other.
HTH
Doug
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addi
On 13 Jan 2005 at 7:58, JupiterHost.Net wrote:
> > open (CONTROL1, "
> always always test to see if it opened or not: (and don't use double
> quotes when nothgin is beinf interpolated so Perl doesn't have to
> check it to see if somethign needs interpolated)
>
> open CONTROL1, 'http://learn.pe
t message is
telling me that I either need to lexically scope @group, or declare
it beforehand or explicitly qualify it. But haven't I already
lexically scoped it? (My guess is that I haven't done that properly,
since I'm getting the error message; but I cannot figure out what is
. The problem comes in assigning. My file has three lines. The
first line contains a list of names seperated by spaces; the next two
lines contain numbers:
Doug Sandy Lois
0
1
In order to isolate the problem, I have created a simplified script:
#read from file
open (CONTROL1, ";
close (CON
I haven't used the wget program before, but try adding a comma after your -O. I did
that and I got it working.
Jan Eden <[EMAIL PROTECTED]> wrote:Hi,
I try to call wget using system like this:
system("wget -O /dev/null", "http://janeden.org/test/file.txt";);
This does not work:
Can't exec "w
I won't even reply to the person that said, perl is old news. And that everyone talks
about Python. That is just stupid. Most people either talk about C, C++, or Java.
Then comes perl.
Perl is still way more talked about than Python In my Experience.
Perl makes things much simpler.
"NYI
Your answer actually lies in the system that you are using first. The reason the CGI
scripts hold the .cgi extension. Is because that is what your webserver uses to grab
your CGI scripts from your CGI directory.
As for using perl myscript. That is a windows thing. If I remember correctly
Is there some way to determine assigned drives? I'm thinking something like
readdir.
By the way, thanks to everyone who responded to my last post re: Win32::ODBC
(which as it turned out, wasn't a Win32::ODBC problem at all). I truly
appreciate the help!
Best,
Dou
ow++;" and "print "$Row \n";" prints 878 numbered lines,
which is exactly how many observations there are in the table.
The problem is this: I get no errors, and "print "$ID => $NAMES{$ID} \n";"
does nothing for me. ID does exist as a variable in
he values aren't
being read by print. The Catalog() method isn't the only method I'm having
this problem with. I'm running WinXP Pro, ActivePerl 5.8. Any help would
be appreciated. Thanks!
Doug Cacialli
---
Doug Cacialli - Data Manag
the top level of my
webspace.
please someone help
Yours
Lost and confused
Doug Guilding
I'm doing a "simple" form using Tk. Things are going well, but I feel a
little lazy, so for once I will ask about this.
Perl/Tk script is running on linux box "host". Users are on windows
boxes "local", running the application via an X server (Hummingbird
Exceed) and the "export DISPLAY" command.
One additional thing:
The data exists in an array, where each line of raw data is a scalar string
within the array.
-Original Message-
From: Cacialli, Doug
Sent: Monday, November 11, 2002 6:18 PM
To: '[EMAIL PROTECTED]'
Subject: Array problem, I think
Y'all,
I'm n
ls{"F2")[1] = "I8";
$individuals{"F2")[2] = "I11";
$individuals{"F2")[3] = "I12";
I'm familiar with substr, split, m//, s///, etc.; I'm just not sure how to
programmatically create the data structure. Any help or suggestions to
po
Lo,
I apologize if this request is less than coherent.
I'm running Win XP Pro using Perl 5.6.1. I'd like to do this:
open (ACCESSDB, "| C:\\Documents\ and\ Settings\\Doug\
Cacialli\\Desktop\\TEST
DATABASE.mdb")
or die "Something is amiss: $! \n";
Whi
remely new to this. Any input would be great. Thanks.
Doug out.
---
Douglas Cacialli - Data Manager / Data Analyst
Sleep and Depression Research Laboratory
University of Rochester Medical Center
300 Crittenden Blvd. - Box PSYCH
Rochester,
C module that I can use to get at the data, but I'm pretty sure that
it won't open the database. ANY suggestions or ideas would be appreciated.
This is my first program in perl. Thanks.
Doug out.
---
Douglas Cacialli - Data Manager
e an authentication token
that they would pass on through the script to the SQL server, removing any
reliance on trust between the script and the SQL server. Kerberos
supports schemes like this, but I'll bet you that your components do not.
Doug
On Thu, 29 Aug 2002, brian gilbert wrote:
Here's one way:
my %router = ();
$router{"size"} = "big";
my $varname = "router";
eval < Hello,
> can I / how can I use a variable as a hash name?
>
> $$myVar{key}?
>
> Thanxs!
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
ld probably not recomending considering these invalid.
Also, keep in mind that these are also valid IP addresses:
0
1089214484 (try it!)
Doug
On Tue, 20 Aug 2002, Angerstein wrote:
> yes, correctly
>
> > -Ursprüngliche Nachricht-
> > Von: Mat Harris [mailto:[EMAIL PROT
Anyone figure out how to trigger a nice, MFC-like printing dialogue in
Windows? And use an associated API to produce printer output?
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This may be a long shot, but I am trying to get Arthur Corliss's
CursesWidgets 1.992 module to work on a SCO box. Must apologize first, I
do not understand curses, no more than the average pig understands
French.
Server OS: SCO Open Server 5 (oxymoron, but we can't call it SCO
Abandoned Server 5,
I'm working on a script to create an Excel spreadsheet programatically,
using Spreadsheet::WriteExcel. I'm using a spreadsheet written by my
boss as the specification. No problems yet, but coding is tedious. I
find myself thinking, "I should write a script utilizing Parse:Excel to
dump an Excel sp
Thanks. I'll take a look at perldoc perldebguts.
Just to provide some context here: my script takes an MSDOS/Windows
(columnar)
text file and converts it to xBASE .DBF format, for reading in dBASE IV
for Unix.
I don't use any modules; basically I manipulate the text file and cat it
onto the
end o
I've been using to read an entire text file into an array.
@buffer = ;
I string-manipulate the individual array elements and then sometime
later, do a
$buffer = join "", @buffer;
...and this worked OK for a 80M text file. I couldn't resist and tried
it out on
a gigabyte monster.
The script a
Can we see a little more of the code? :o)
Doug
-Original Message-
From: Richie Crews [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 18, 2001 11:43 AM
To: Richie Crews; [EMAIL PROTECTED]
Subject:RE: Ok brain fart here...
Ok my problem is something not shown in the
I did a cut and paste and it seems to work fine here.. What errors do you
get or what result?
Doug
-Original Message-
From: Richie Crews [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 18, 2001 11:27 AM
To: [EMAIL PROTECTED]
Subject:Ok brain fart here...
Ok I am
becomes very powerful. Do a "man telnet"
or "info telnet" and see all of the options. It will give you a little more
detail of its use.
But basically it is just an access window to a remote machine.
Best Regards,
Doug
-Original Message-
From: Sally [mailto:[EMA
Perfect! Thanks a million..
Doug
--- Doug Johnson <[EMAIL PROTECTED]> wrote:
> In an array to find the number of elements in an array I :
>
> print "$#array\n";
>
> Is there a similar way to find the number of keys in a hash without
> cycling through them
In an array to find the number of elements in an array I :
print "$#array\n";
Is there a similar way to find the number of keys in a hash without cycling
through them and without assigning the hash to an array?
Doug
text file containing the information you want mailed. This can
even be created by the script
Good Luck,
Doug
-Original Message-
From: Yacketta,Ronald J [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 23, 2001 4:52 PM
To: Beginners (E-mail)
Subject:mail
Folks,
I searc
know if I have any
problems. Thanks again for all of the help.
Doug
-Original Message-
From: Jeff Pinyan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 17, 2001 10:29 AM
To: Doug Johnson
Cc: [EMAIL PROTECTED]
Subject:Re: Compare statement.
On May 17, Doug Jo
Is there a better way to write:
my $x = "return";
if (($x = "a") || ($x = "test" ) || ($x = "return" ) || ($x = "x-retun"))
{
print("bunch of foo);
}
Could my if comparison be made smaller? I would like to compare 1 value to
a list without multiple "x =".
Best Regards,
Doug
I think I was hoping for a little more definition on the supported
constants..
Doug
-Original Message-
From: Brett W. McCoy [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 15, 2001 1:44 PM
To: Doug Johnson
Cc: [EMAIL PROTECTED]
Subject:RE: Curses Module
> No
Your's works... Mine didn't. The link I used is also found on the CPAN
site. It is below..
http://theoryx5.uwinnipeg.ca/CPAN/data/Curses/gen/make.Curses.html
Thanks a million!
Doug
-Original Message-
From: Brett W. McCoy [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, Ma
No, I done it the old fashion way of download untarr, (edit makefile, or any
other pertinent files) perl makefile, make test, make install.. I did
find the POD reference at the end of the Curses.pm file. I was hoping for a
little more but I think I can weed my way through it..
Thanks,
Doug
..
(perldoc etc.) Any help would be greatly appreciated.
Best Regards,
Doug Johnson
51 matches
Mail list logo