comp.lang.perl.misc
  Home FAQ Contact Sign in
comp.lang.perl.misc only
 
Advanced search
December 2006
motuwethfrsasuw
    123 48
45678910 49
11121314151617 50
18192021222324 51
25262728293031 52
2006
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007 2006  
total
comp.lang.perl.misc Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  Re: unable to use @ARG in Perl         


Author: Arved Sandstrom
Date: Dec 1, 2006 22:37

"A. Sinan Unur" <1usa@llenroc.ude.invalid> wrote in message
news:Xns988C46631481Dasu1cornelledu@127.0.0.1...
> ragavendran31@gmail.com wrote in
> news:1164972793.092676.200780@j72g2000cwa.googlegroups.com:
>
>> While i try 2 execute this prgm im getting output as Zero..... i
>> didnt get clear info abt @ARGV so can anyone help me reg this
>
> We could try to help you 'reg this' if we knew what it meant to 'reg'
> something.
>
>> .... but in
>> notes its saying that in commandline v shd give sme inputs for sum ...
>
> What is commandline v? What do you mean by "shd give sme"? Please write in
> proper English. It is the language that is common to all of us on this
> forum. Making it easy for others to understand what you mean, would help
> you get help.
Show full article (1.32Kb)
no comments
  Re: regex question         


Author: Arved Sandstrom
Date: Dec 1, 2006 22:30

"Bill Segraves" gmail.com> wrote in message
news:1164967167.059114.101040@n67g2000cwd.googlegroups.com...
[ SNIP ]
> Note to OP: The above (proposed) solution produces the result
> aLONG_OBJECT_NAME, which is not the specified result. A correct
> solution, with explanation of why the above approach fails, was given
> in another response to the OP's post.
[ SNIP ]

Worth pointing out that a test taking perhaps a minute would have sufficed
to show that the

$str =~ s/_(\w+)/\U$1/g;

doesn't do the trick. Your solution follows. The point being, if one posts a
code snippet that one purports to work, one should actually test it.

AHS
no comments
  [ANNOUNCE] Emacs modules for Perl programming         


Author: jari.aalto
Date: Dec 1, 2006 21:27

Archive-name: perl-faq/emacs-lisp-modules
Posting-Frequency: 2 times a month
Maintainer: Jari Aalto A T cante net

Announcement: "What Emacs lisp modules can help with programming Perl"

Preface

Emacs is your friend if you have to do anything comcerning software
development: It offers plug-in modules, written in Emacs lisp
(elisp) language, that makes all your programmings wishes come
true. Please introduce yourself to Emacs and your programming era
will get a new light.

Where to find Emacs/XEmacs

o Unix:
http://www.gnu.org/software/emacs/emacs.html
http://www.xemacs.org/

o Unix Windows port (for Unix die-hards):
install http://www.cygwin.com/ which includes native Emacs 21.x.
and XEmacs port
Show full article (3.79Kb)
no comments
  FAQ 1.2 Who supports Perl? Who develops it? Why is it free?         


Author: PerlFAQ Server
Date: Dec 1, 2006 18:03

This is an excerpt from the latest version perlfaq1.pod, which
comes with the standard Perl distribution. These postings aim to
reduce the number of repeated questions as well as allow the community
to review and update the answers. The latest version of the complete
perlfaq is at http://faq.perl.org .

--------------------------------------------------------------------

1.2: Who supports Perl? Who develops it? Why is it free?

The original culture of the pre-populist Internet and the deeply-held
beliefs of Perl's author, Larry Wall, gave rise to the free and open
distribution policy of perl. Perl is supported by its users. The core,
the standard Perl library, the optional modules, and the documentation
you're reading now were all written by volunteers. See the personal note
at the end of the README file in the perl source distribution for more
details. See perlhist (new as of 5.005) for Perl's milestone releases.
Show full article (2.87Kb)
no comments
  Re: how to do this with RE?         


Author: DJ Stunks
Date: Dec 1, 2006 16:57

Mirco Wahab wrote:
> Thus spoke Mumia W. (reading news) (on 2006-12-02 00:21):
>
>> On 12/01/2006 06:37 AM, Dr.Ruud wrote:
>>> Charles DeRykus schreef:
>>>> Arthur:
>>>
>>>>> What I want is to replace the leading spaces with  
>>>> $foo = " Willy";
>>>> $foo =~ s/\G\s/ /g;
>>>
>>> Nice example of \G usage.
>>>
>>
>> I'm a little confused. How does \G change the statement? Wouldn't the
>> result be exactly the same without it?
>
> I think what was intended is sth. like:
>
> $foo =~ s/^\s+/' 'x length$&/eg; ...
Show full article (0.91Kb)
no comments
  Re: Add a #include line to all c/c++ plus files         


Author: Wayne M. Poe
Date: Dec 1, 2006 16:35

Josef Moellers wrote:
> NBTNDT, but

Naughty Bunny Tarps Nuggets Dangling Tonight ?
1 Comment
  Re: using DateTime object         


Author: Jim Gibson
Date: Dec 1, 2006 15:52

In article <1165013668.605573.237210@80g2000cwy.googlegroups.com>,
aswad hotmail.com> wrote:
>
> Hi Sherm, thanks for the information. I took a look at the
> documentation on the ActiveState web site. But couldn't find anything
> on DateTime. Or maybe I wasn't looking under the right section.
>

Perl comes with its own documentation, as do most modules. Type

perldoc ActiveState::DateTime

at a command-line prompt. I have also read on this newsgroup that the
ActiveState Perl installation comes with HTML documentation, so it is
likely that AS has provided the documentation for this module. Look
under the 'Start' menu (can't be much more help than that because I do
not have access to an AS Perl installation).
no comments
  a quick regex question         


Author: PamelaFoxcroft
Date: Dec 1, 2006 13:29

Hi, I want to find all occurences of a string where it looks like this

testword12345

So I have a word (actually 10 words) and I want to find all occurenece
of a any of these 10 words followed by 5 numbers.

Can anyone help me with this?

TIA

Pamela
1 Comment
  a quick regex question         


Author: PamelaFoxcroft
Date: Dec 1, 2006 13:29

Hi, I want to find all occurences of a string where it looks like this

testword12345

So I have a word (actually 10 words) and I want to find all occurenece
of a any of these 10 words followed by 5 numbers.

Can anyone help me with this?

TIA

Pamela
3 Comments
  PAR, PAR::Packer         


Author: smueller
Date: Dec 1, 2006 13:18

Hi comp.lang.perl.misc,

since people regularly ask about "compiling" Perl or, if they're a
little more educated about dynamic languages, about packaging Perl, I'm
quickly dropping by to announce that PAR will soon be split up into two
distributions.

The reason for this is that PAR has various use cases: One of those is
packaging applications and that feature requires a C build environment
to set up. Another use case is just using a .par file as a library to
load modules from. You wouldn't need a C compiler for that.

So, soon, there will be the PAR distribution itself and a separate
PAR-Packer distribution which contains the venerable "pp" utility for
packaging Perl applications. If questions about packaging Perl apps
arise, please don't just mention PAR but also PAR-Packer (or
PAR::Packer).

In fact, once I make a release, you will be able to install the pp
utility and thus PAR::Packer from the CPAN shell as

install pp

or, of course,

install PAR::Packer
Show full article (1.00Kb)
1 Comment
1 2 3