Re: Accessing windows webservices

2009-08-05 Thread perl pra
> > Hi all, > > I have a windows webService which i wanted to consume through > perlclient.Below are the details. > > I have a windows webservice, Now i wanted to test these services, I wanted > to consume them with perl client, These webservices are WSSE authenticated.I > have tried with SOAP::Li

Re: two questions

2009-08-05 Thread Ed Avis
sys adm computermail.net> writes: >1. why perl doesn't have a built-in strip() function? >each time I need to say $var =~ s/^\s+|\s+//g to strip Good question. Perl 6 is fixing this by adding a 'trim' operator. The code I use is for ($var) { s/\A\s+//; s/\s+\z/ } >2. what's the standard m

Re: Purpose of $$ in subroutine

2009-08-05 Thread Dermot
2009/8/5 Chas. Owens : > On Tue, Aug 4, 2009 at 23:07, Dave Tang wrote: >> On Wed, 05 Aug 2009 12:55:22 +1000, Chas. Owens >> wrote: >> >> snip Here's someone's recent experience of encountering prototypes: http://perlhacks.com/2009/06/what-is-wrong-with-this-picture.php Good luck, Dp. -- To

Re: Purpose of $$ in subroutine

2009-08-05 Thread Chas. Owens
On Wed, Aug 5, 2009 at 05:21, Dermot wrote: > 2009/8/5 Chas. Owens : >> On Tue, Aug 4, 2009 at 23:07, Dave Tang wrote: >>> On Wed, 05 Aug 2009 12:55:22 +1000, Chas. Owens >>> wrote: >>> >>> snip > > Here's someone's recent experience of encountering prototypes: > > http://perlhacks.com/2009/06/wha

Re: two questions

2009-08-05 Thread Chas. Owens
On Wed, Aug 5, 2009 at 05:12, Ed Avis wrote: > sys adm computermail.net> writes: > >>1. why perl doesn't have a built-in strip() function? >>each time I need to say $var =~ s/^\s+|\s+//g to strip > > Good question.  Perl 6 is fixing this by adding a 'trim' operator. > The code I use is > >    for

Re: better readline?

2009-08-05 Thread Bryan Harris
> On Mon, Aug 3, 2009 at 18:43, Bryan R Harris > wrote: >> >> >> I'm writing a little script where the user enters some data via keyboard. >> >> The script in some cases can guess what the user will want to enter, but I'd >> like the user to be able to override what the computer has guessed. >

Re: two questions

2009-08-05 Thread John W. Krahn
Ed Avis wrote: sys adm computermail.net> writes: 1. why perl doesn't have a built-in strip() function? each time I need to say $var =~ s/^\s+|\s+//g to strip Good question. Perl 6 is fixing this by adding a 'trim' operator. The code I use is for ($var) { s/\A\s+//; s/\s+\z/ }

Re: two questions

2009-08-05 Thread Chas. Owens
On Wed, Aug 5, 2009 at 10:01, John W. Krahn wrote: snip >> If you want to use the string in a URL then it cannot be truly random, >> because >> not every character can appear in a URL. > > That does not make sense. snip I believe he/she meant that not every character is allowed in a regex, so you

Re: two questions

2009-08-05 Thread Shawn H. Corey
Chas. Owens wrote: On Wed, Aug 5, 2009 at 10:01, John W. Krahn wrote: snip If you want to use the string in a URL then it cannot be truly random, because not every character can appear in a URL. That does not make sense. snip I believe he/she meant that not every character is allowed in a reg

Re: two questions

2009-08-05 Thread John W. Krahn
Chas. Owens wrote: On Wed, Aug 5, 2009 at 10:01, John W. Krahn wrote: snip If you want to use the string in a URL then it cannot be truly random, because not every character can appear in a URL. That does not make sense. snip I believe he/she meant that not every character is allowed in a reg

Re: better readline?

2009-08-05 Thread Chas. Owens
On Tue, Aug 4, 2009 at 16:35, Bryan Harris wrote: snip >> while ( defined (my $answer = $term->readline("Enter a date and >> note:", "8/2 Updated database")) ) { >> print "you said $answer\n"; >> } > > > Thanks for the response Chas -- oddly it doesn't work.  This is what it > prints: > > 2054% ./t

Re: two questions

2009-08-05 Thread Chas. Owens
On Wed, Aug 5, 2009 at 11:06, John W. Krahn wrote: > Chas. Owens wrote: >> >> On Wed, Aug 5, 2009 at 10:01, John W. Krahn wrote: >> snip If you want to use the string in a URL then it cannot be truly random, because not every character can appear in a URL. >>> >>> That does not

perl : time vs Yvalue line graph

2009-08-05 Thread Dennis German
I need a simple(?) perl module to take data and draw a simple (?) graph like line chart in excel. I think I can get the data into the module however it wants it. Simplest would be : (Well simpler would be DATA without color and symbol, without HLINE ) given: # I just made this input format up D

Re: better readline?

2009-08-05 Thread Bryan R Harris
> On Tue, Aug 4, 2009 at 16:35, Bryan Harris wrote: > snip >>> while ( defined (my $answer = $term->readline("Enter a date and >>> note:", "8/2 Updated database")) ) { >>> print "you said $answer\n"; >>> } >> >> >> Thanks for the response Chas -- oddly it doesn't work.  This is what it >> print

Re: perl : time vs Yvalue line graph

2009-08-05 Thread Shawn H. Corey
Dennis German wrote: I need a simple(?) perl module to take data and draw a simple (?) graph like line chart in excel. GD::Graph http://search.cpan.org/~bwarfield/GDGraph-1.44/Graph.pm GD:Graph3D http://search.cpan.org/~wadg/GD-Graph3d-0.63/lib/GD/Graph3d.pm -- Just my 0.0002 million d

Re: better readline?

2009-08-05 Thread Chas. Owens
On Wed, Aug 5, 2009 at 14:52, Bryan R Harris wrote: snip > I didn't change anything, actually -- it never printed the "8/2 Updated > database" string.  It prompted with the "Enter a date and note:", I typed > "Uh." and that was it.  Maybe my version of perl doesn't have a good > Term::Readline::Per

What happened to url http://beginners.perl.org/

2009-08-05 Thread FRASER, KAREN R.
I checked link http://lists.cpan.org/showlist.cgi?name=beginners "The beginners Mailing List" It references link http://beginners.perl.org/ -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/ -- To unsubscr

Re: What happened to url http://beginners.perl.org/

2009-08-05 Thread Shawn H. Corey
FRASER, KAREN R. wrote: I checked link http://lists.cpan.org/showlist.cgi?name=beginners "The beginners Mailing List" It references link http://beginners.perl.org/ Try: http://learn.perl.org/ http://perl-begin.org/ http://www.perl.org/books/beginning-perl/ http://perlmonks.org/?node=Tutorial

Re: What happened to url http://beginners.perl.org/

2009-08-05 Thread Chas. Owens
On Wed, Aug 5, 2009 at 15:54, FRASER, KAREN R. wrote: > I checked link http://lists.cpan.org/showlist.cgi?name=beginners "The > beginners Mailing List" > It references link  http://beginners.perl.org/ snip No idea, it used to exist. The Wayback Machine's last record of it is from 2005: http://we