Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: An Insane Typo Bug

by pg (Canon)
on Nov 05, 2003 at 23:56 UTC ( #304906=note: print w/replies, xml ) Need Help??


in reply to An Insane Typo Bug

The other possible output would be -4294967294. The result depends on whether m// returns 0 or 1.

use strict; use warnings; my $file = "blah"; $_ = "kba.gz"; my $file =-~ /kba\.gz$/; print $file, "\n"; $_ = "abcd"; my $file =-~ /kba\.gz$/; print $file;

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://304906]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2021-07-27 12:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?