AW: Compare file/dir size

2010-07-28 Thread HACKER Nora
Thanks for the hint, Jeff - rsync is perfect for my purpose, works great :-) Regards, Nora > -Ursprüngliche Nachricht- > Von: Jeff Pang [mailto:pa...@arcor.de] > Gesendet: Freitag, 23. Juli 2010 09:40 > An: HACKER Nora > Cc: beginners@perl.org > Betreff: Re: Compare file/dir size > >

Env::Sourced - false error

2010-07-28 Thread HACKER Nora
Hi list, Maybe one of you has a clue why I get a false error message when using Env::Sourced. My (test-)script is as follows: #!/usr/bin/perl -w use strict; use warnings; require Env::Sourced; # "require" necessary in main programme, just not changed for testing my $w_conf = $ENV{'W_UMG_CONFIG_P

Re: XML::Simple XMLin

2010-07-28 Thread Jasper2000
Brandon / Erez, Thanks very much for your help. Not sure why, but I did post another message, to say that I'd managed to figure it out, yet the message didn't show up. However, I really do appreciate your comments and willingness to help me. Thanks!! On Jul 28, 6:10 pm, bamcc...@gmail.com (Bra

Re: XML::Simple XMLin

2010-07-28 Thread Jane D.
Actually, I have now figured it out, and it all makes sense! Thanks for your help. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: XML::Simple XMLin

2010-07-28 Thread Brandon McCaig
On Tue, Jul 27, 2010 at 6:31 PM, Jane D. wrote: > The top bit of the XML file looks like this: It would be easier for me to make suggestions if you'd post an entire sample XML document or, better yet, a URL where I could retreive one so that I could test my code before suggesting it to you. :) -

Re: ftps module

2010-07-28 Thread C.DeRykus
On Jul 27, 6:19 am, dro...@gmail.com (Roman Makurin) wrote: > Hi All! > > I need ftps support fo my app, could anyone recomend > good opensource module ? > http://search.cpan.org/~cleach/Net-FTPSSL-0.15/FTPSSL.pm -- Charles DeRykus -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For a

Re: usage of Split

2010-07-28 Thread C.DeRykus
On Jul 28, 10:12 am, chandan_28...@yahoo.com (Chandan Kumar) wrote: > Hi , >   > using split ,I would like to split on space character. Dont want to use > character classes. > my $string="108 ambulance 100\nfireengine141jack"; >   > my @array = split /' '/,$string;  > From the doc: perldoc -f s

Re: XML::Simple XMLin

2010-07-28 Thread Erez Schatz
First, I urge you to try parsing this doc with a dedicated RSS parser, it will do miracles for your needs. Second, the dumper you print here is not the full document, but one branch, it might be that what you loop over is not an arrayref, or might not work the way you think. Try running a Dumper ov

Re: usage of Split

2010-07-28 Thread Gunnar Hjalmarsson
On 07/28/10 19:12, Chandan Kumar wrote: using split ,I would like to split on space character. Dont want to use character classes. my $string="108 ambulance 100\nfireengine141jack"; my @array = split /' '/,$string; foreach my $value (@array){ print "$value \n"; } Result : its splitting on new

Re: usage of Split

2010-07-28 Thread Shlomi Fish
On Wednesday 28 Jul 2010 20:12:15 Chandan Kumar wrote: > Hi , > > using split ,I would like to split on space character. Dont want to use > character classes. my $string="108 ambulance 100\nfireengine141jack"; > > my @array = split /' '/,$string; > You need «my @array = split / /, $string;»

usage of Split

2010-07-28 Thread Chandan Kumar
Hi ,   using split ,I would like to split on space character. Dont want to use character classes. my $string="108 ambulance 100\nfireengine141jack";   my @array = split /' '/,$string;    foreach my $value (@array){ print "$value \n"; }   Result : its splitting on new line character.instead of spa

Re: XML::Simple XMLin

2010-07-28 Thread Jasper2000
Thanks Erez ... However, I did already look at the data in Data:Dumper, and still can't figure out how to access it. Mind you, I have done an identical loop for other XML data, from other sources, and it works fine (even with the element set to 0, which I don't quite get). Mind you, if it's of any