Re: Setting $! in xs

2011-08-06 Thread Rob Dixon
On 06/08/2011 10:15, Beau E. Cox wrote: Hi - I am a bit confused about how to set $! from within an xs module. I have searched perlxstut, perlxs, and perlguts without really understanding what is involved. Can some one either point me to a module that sets $! or give me a short description on ho

Re: Parsing a Text File using regex

2011-08-06 Thread Rob Dixon
On 06/08/2011 15:14, Emeka wrote: John, Thanks for making things pretty simple for mere mortals .. Hi Emeka chomp( my $raw_file = glob "@ARGV" ); I am of the view that glob sub is used for as tree (that is to get all the files in a folder and all its sub-folders. From the above, it see

Re: Parsing a Text File using regex

2011-08-06 Thread Emeka
John, Thanks for making things pretty simple for mere mortals .. >> > chomp( my $raw_file = glob "@ARGV" ); > I am of the view that glob sub is used for as tree (that is to get all the files in a folder and all its sub-folders. From the above, it seems like it could be used for something else.

Setting $! in xs

2011-08-06 Thread Beau E. Cox
Hi - I am a bit confused about how to set $! from within an xs module. I have searched perlxstut, perlxs, and perlguts without really understanding what is involved. Can some one either point me to a module that sets $! or give me a short description on how it is done? Thanks!