Re: Undefined subroutine main::subs

2012-03-08 Thread Shawn H Corey
On 12-03-07 11:49 PM, lina wrote: I only read till 15 pages, progressed so slow, and sometimes choked by understanding the pack. really hard for me to understand it, so I just skip. meanwhile I also did some search. pack() is difficult to understand, and most of the time, unneeded. I suggest

Re: Undefined subroutine main::subs

2012-03-08 Thread lina
On Thu, Mar 8, 2012 at 10:07 PM, Shawn H Corey shawnhco...@gmail.com wrote: On 12-03-07 11:49 PM, lina wrote: I only read till 15 pages, progressed so slow, and sometimes choked by understanding the pack. really hard for me to understand it, so I just skip.  meanwhile I also did some search.

Re: Undefined subroutine main::subs

2012-03-08 Thread lina
On Thu, Mar 8, 2012 at 10:14 PM, lina lina.lastn...@gmail.com wrote: On Thu, Mar 8, 2012 at 10:07 PM, Shawn H Corey shawnhco...@gmail.com wrote: On 12-03-07 11:49 PM, lina wrote: I only read till 15 pages, progressed so slow, and sometimes choked by understanding the pack. really hard for me

Re: Undefined subroutine main::subs

2012-03-08 Thread Shawn H Corey
On 12-03-08 09:19 AM, lina wrote: a quick question, is padre very popular, do you use it often, seems a bit heavy. I use GViM since it allows me to place to files (or the same one) side-by-side on the screen. Padre doesn't do this yet. But learning to use GViM is difficult since its commands

Undefined subroutine main::subs

2012-03-07 Thread lina
Hi, $ ./substr_accessing_examples.pl Undefined subroutine main::subst called at ./substr_accessing_examples.pl line 15. #!/usr/bin/env perl use strict; use warnings; # # get a 5-byte string, skip 3 bytes, # then grab two 8-byte strings, then the rest; # # (my $leading, my $s1, my $s2, my

Re: Undefined subroutine main::subs

2012-03-07 Thread Jim Gibson
At 12:41 AM +0800 3/8/12, lina wrote: Hi, $ ./substr_accessing_examples.pl Undefined subroutine main::subst called at ./substr_accessing_examples.pl line 15. #!/usr/bin/env perl use strict; use warnings; # # get a 5-byte string, skip 3 bytes, # then grab two 8-byte strings, then the rest; #

Re: Undefined subroutine main::subs

2012-03-07 Thread Brock
Greetings! I think you mean 'substr' instead of 'subst'. --Brock On 2012.03.08.00.41, lina wrote: Hi, $ ./substr_accessing_examples.pl Undefined subroutine main::subst called at ./substr_accessing_examples.pl line 15. #!/usr/bin/env perl use strict; use warnings; # # get a

Re: Undefined subroutine main::subs

2012-03-07 Thread 'lesleyb'
On Thu, Mar 08, 2012 at 12:41:01AM +0800, lina wrote: Hi, $ ./substr_accessing_examples.pl Undefined subroutine main::subst called at ./substr_accessing_examples.pl line 15. #!/usr/bin/env perl use strict; use warnings; # # get a 5-byte string, skip 3 bytes, # then grab two

Re: Undefined subroutine main::subs

2012-03-07 Thread lina
snip Thanks for all, I was so inexperience, thought might some module missing and a bit carelessly. Best regards, -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: Undefined subroutine main::subs

2012-03-07 Thread David Christensen
On 03/07/2012 08:41 AM, lina wrote: $ ./substr_accessing_examples.pl Undefined subroutinemain::subst called at ./substr_accessing_examples.pl line 15. On 03/07/2012 09:02 AM, Brock wrote: I think you mean 'substr' instead of 'subst'. Typographic errors are maddening; I make them all the

Re: Undefined subroutine main::subs

2012-03-07 Thread lina
On Thu, Mar 8, 2012 at 12:40 PM, David Christensen dpchr...@holgerdanske.com wrote: On 03/07/2012 08:41 AM, lina wrote: $ ./substr_accessing_examples.pl Undefined subroutinemain::subst called at ./substr_accessing_examples.pl line 15. On 03/07/2012 09:02 AM, Brock wrote: I think you mean

Re: Undefined subroutine main::subs

2012-03-07 Thread David Christensen
On 03/07/2012 08:49 PM, lina wrote: Thanks David, YW. :-) I started from the second book, perl cookbook. 2nd edition. I only read till 15 pages, progressed so slow, and sometimes choked by understanding the pack. really hard for me to understand it, so I just skip. meanwhile I also did