On 1/10/07, Peter Scott <[EMAIL PROTECTED]> wrote:
On Wed, 10 Jan 2007 08:32:26 -0500, Muttley Meen wrote:
> On 1/10/07, Peter Scott <[EMAIL PROTECTED]> wrote:
>> On Wed, 10 Jan 2007 07:37:24 -0500, Muttley Meen wrote:
>> > I have the code:
>> > $SIG{__WARN__} = sub { print $_[0]; } ;
>>
>> perld
On Wed, 2007-01-10 at 07:37 -0500, Muttley Meen wrote:
> Hi.
>
> I have the code:
>
> $SIG{__WARN__} = sub { print $_[0]; } ;
>
> I'm expecting that when i use
> warn "WARN"; only "WARN" will be printed to STDERR, no other text.
> but perl is smart to tell me the file and the line, even though I
> > On 1/10/07, Peter Scott <[EMAIL PROTECTED]> wrote:
> > > On Wed, 10 Jan 2007 07:37:24 -0500, Muttley Meen wrote:
> > > > I have the code:
> > > >
> > > > $SIG{__WARN__} = sub { print $_[0]; } ;
> > > >
> > >
> > > perldoc -f die
> > >
> > > (perldoc -f warn should probably be clearer on this.)
> On 1/10/07, Peter Scott <[EMAIL PROTECTED]> wrote:
> > On Wed, 10 Jan 2007 07:37:24 -0500, Muttley Meen wrote:
> > > I have the code:
> > >
> > > $SIG{__WARN__} = sub { print $_[0]; } ;
> > >
> >
> > perldoc -f die
> >
> > (perldoc -f warn should probably be clearer on this.)
> >
> Already did th
On Wed, 10 Jan 2007 08:32:26 -0500, Muttley Meen wrote:
> On 1/10/07, Peter Scott <[EMAIL PROTECTED]> wrote:
>> On Wed, 10 Jan 2007 07:37:24 -0500, Muttley Meen wrote:
>> > I have the code:
>> > $SIG{__WARN__} = sub { print $_[0]; } ;
>>
>> perldoc -f die
>>
>> (perldoc -f warn should probably be c
On 1/10/07, Peter Scott <[EMAIL PROTECTED]> wrote:
On Wed, 10 Jan 2007 07:37:24 -0500, Muttley Meen wrote:
> I have the code:
>
> $SIG{__WARN__} = sub { print $_[0]; } ;
>
perldoc -f die
(perldoc -f warn should probably be clearer on this.)
Already did that :)
$SIG{__WARN__} = sub { my $ms
On Wed, 10 Jan 2007 07:37:24 -0500, Muttley Meen wrote:
> I have the code:
>
> $SIG{__WARN__} = sub { print $_[0]; } ;
>
> I'm expecting that when i use
> warn "WARN"; only "WARN" will be printed to STDERR, no other text.
> but perl is smart to tell me the file and the line, even though I did
> n
Hi.
I have the code:
$SIG{__WARN__} = sub { print $_[0]; } ;
I'm expecting that when i use
warn "WARN"; only "WARN" will be printed to STDERR, no other text.
but perl is smart to tell me the file and the line, even though I did
not requested
that:
WARN at ./1.pl line 4.
Is there a way not to