On Wed, Sep 25, 2013 at 6:45 PM, Ken Peng wrote:
> Does perl have a way to raise a error in module/class then from caller use
> Try::Tiny etc to catch them? Thanks.
You can throw an exception with 'die()' -- see 'perldoc -f die' for
calling syntax.
chrs,
john.
--
To unsubscribe, e-mail: beginn
On 2013-9-26 14:22, Shlomi Fish wrote:
I'm not using Try::Tiny (though many people recommend it), but I use
https://metacpan.org/release/Exception-Class and it works fine. It's not clear
what exactly you're trying to do.
what I asked is how to raise an error from a module/class correctly?
usi
Hi Ken,
On Thu, 26 Sep 2013 09:45:45 +0800
Ken Peng wrote:
> Does perl have a way to raise a error in module/class then from caller
> use Try::Tiny etc to catch them? Thanks.
>
I'm not using Try::Tiny (though many people recommend it), but I use
https://metacpan.org/release/Exception-Class an
Hi Renato,
people here helped you but here are a few comments.
On Wed, 25 Sep 2013 16:38:22 -0300
RENATO AUGUSTO CORREA DOS SANTOS wrote:
> Hi, all.
>
> I am a very begginer in PERL starting today in this mailing list! :-) I
> will try to work especially with Bioinformatics.
>
> I am trying t
On 09/25/13 18:53, Jing Yu wrote:
Another look at it, and I think I've pointed you to a wrong way. BLAST might
not what you need. Sorry about this.
No problem. The more I look at it, the less I believe there is such a
pair of functions.
David
--
To unsubscribe, e-mail: beginners-unsubscr
Hi David,
Another look at it, and I think I've pointed you to a wrong way. BLAST might
not what you need. Sorry about this.
Jing
On 25 Sep 2013, at 03:31, David Christensen wrote:
> On 09/24/13 00:12, Dr.Ruud wrote:
>> I assume this is about paths and filenames. Have you considered an rsync
>>
Does perl have a way to raise a error in module/class then from caller
use Try::Tiny etc to catch them? Thanks.
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
-- Forwarded message --
From: RENATO AUGUSTO CORREA DOS SANTOS
Date: Wed, Sep 25, 2013 at 5:09 PM
Subject: Re: checking for file existence
To: Peter Ezetta
Dear,
Thank you so much for your quick help.
This list seems to be useful for us begginers.
The problem was that I was t
Perhaps file or directory permissions related to the file being checked
based on the user running the perl script?
Jim
On 9/25/2013 4:07 PM, Peter Ezetta wrote:
Hi Renato,
Welcome to Perl and to the list!
I took a quick run through your code, and it's working fine for me.
Are you calling it
Hi Renato,
Welcome to Perl and to the list!
I took a quick run through your code, and it's working fine for me.
Are you calling it with "perl script.pl "? The behavior you describe
almost sounds like you are not providing the argument when you call the script.
Hope this was helpful!
Peter
O
On Wed, Sep 25, 2013 at 04:38:22PM -0300, RENATO AUGUSTO CORREA DOS SANTOS
wrote:
> Hi, all.
>
> I am a very begginer in PERL starting today in this mailing list! :-) I
> will try to work especially with Bioinformatics.
Welcome!
> I am trying to verify the existence of a file in PERL; however,
Hi, all.
I am a very begginer in PERL starting today in this mailing list! :-) I
will try to work especially with Bioinformatics.
I am trying to verify the existence of a file in PERL; however, is seems
not to work. It always returns "The file $file_seqs does not exist!!!".
Do you know where I a
12 matches
Mail list logo