Re: [perl #35982] use of backslashed '-' following '$' within character class causes 'Use of uninitialized value in concatenation (.) or string' error under 'use warnings' pragma

--- yves orton via RT <perlbug-followup@perl.org>
wrote:
> On 5/26/05, demerphq <demerphq@gmail.com> wrote:
> > On 26 May 2005 08:13:03 -0000, via RT fdhsbgeryft
> lkjhuibfmfsi
> > <perlbug-followup@perl.org> wrote:
> ...
> > > I hope I have been specific enough for you to
> identify
> > > this bug with relative ease, I have never
> submitted a
> > > bug before and I'm not exactly a professional
> > > programmer
> 
> Try www.perlmonks.org next time you suspect you've
> found a bug. The
> folks there can help you sort out if its a bug in
> your code or in the
> core. :-) Plus they generally speaking are very
> helpful folks.
> 
> 
> -- 
> perl -Mre=debug -e "/just|another|perl|hacker/"
> 
> 
> 

Yeah I realized what the problem was a while after I
sent... I hoped my little hack to get the bug report
to send got it binned by the system, but apparently
not :). I had assumed all metacharacters lost their
meaning within a character class, I didn't think a
variable would still interpolate into a character
class. Wow im dumb... :)

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
0
weaselball2
5/27/2005 4:46:56 AM
perl.perl5.porters 48170 articles. 1 followers. Follow

0 Replies
1368 Views

Similar Articles

[PageSpeed] 2

Reply:

Similar Artilces:

''''''''''''''''''''
Name: haznen Email: haznenatyahoodotcom Product: Gran Paradiso Alpha 8 Summary: '''''''''''''''''''' Comments: '''''''''''''''''''''''''''''''''''' Browser Details: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20061204 UGES/1.7.2.0 GranParadiso/3.0a1 From URL: http://www.mozilla.org/projects/granparadiso/ Note to readers: Hendrix gives...

'''''
Name: mario Email: ramar17atfastwebnetdotit Product: Gran Paradiso Alpha 2 Summary: ''''' Comments: K: Browser Details: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a2) Gecko/20070206 GranParadiso/3.0a2 ...

Using '[' and ']' characters...
Has anyone come across the following problem when using PD7.5 on SQL Server 2000? PD7.5 does not generate the '[' and ']' characters for stored procedures. Example: CREATE PROC P_Test AS SELECT A AS [Column A] FROM A_Table Generated script: CREATE PROC P_Test AS SELECT A AS Column A FROM A_Table Thanks in advance, Aiden That's interesting. In 7.5, if I put [[Column A]] in the procedure definition, I get [Column A]. In 8.0 it works correctly. -- Michael F. Nicewarner [TeamSybase] mailto:psyclo@datamodel.org http://www.datamode...

Cast from type ''''DBNull'''' to type ''''String'''' is not valid.
How do I avoid getting this error: Cast from type ''''DBNull'''' to type ''''String'''' is not valid. I am trying to get values from the database into a form for updating using a Datareader, SQL is set to allow nulls for certain fields as they are not required but the only way I can get the form to display is by adding a space in SQL. Is there another way around this? Check if it is equal to DBNull.Value first and if it is, don't do the cast.Stanley Tan theSpoke Blog Where in the code does it need to go? I am using the following and it's the profile that isn't always requi...

'use' and 'require'
------_=_NextPart_001_01C35AB9.4ADA5CA0 Content-Type: text/plain Hello all, Is there a way to 'variablize' the version for a 'use' statement. This way, if I wanted to change version I could only change it in one place with those changes cascading across all apps. Usage would look something like this: use $perl_version; Thanks in advance, Jason Allison Principal Engineer ARINC Incorporated Office: (410) 266-2006 FAX: (410) 573-3026 ------_=_NextPart_001_01C35AB9.4ADA5CA0-- Allison, Jason (JALLISON) wrote: > Hello all, > > Is there ...

HOw to use __doPostback('','')?????????
Hi i use the window.open() javascript function, then i want to use the __doPostback('','') javascript function to force the page post back , so that i can use the parameter pass from the child window in the page.ispostback event. but i try to use __doPostback('','') in my 1.1 .net framework, nothing happen????? how to use the __doPostback('','') or how to let the page have .postback event?SelfConfident is get from the Xperience You need to use the server-side function: Page.GetPostBackEventReference and tell it what control's event you want to fire. The __doPostBa...

'do' won't 'do' if '/'
Greetings to All from Au, Have a NetWare Perl 5.8.4 and wanted to tweak File\Spec\NW.pm to try and standardise on '/' separators. If I run a test script (t/uni/lower.t) with an unmodified NW.pm, it calls t/uni/case.pl, that, in case.pl, (when the path separators are '\'), the $file is '..\lib\unicore\To\Lower.pl' and the following code portion works, with $simple getting a returned table: sub casetest { my ($base, $spec, $func) = @_; my $file = File::Spec->catfile(File::Spec->catdir(File::Spec->updir, "lib", &qu...

WARNING: "Application 'sybinit' is using character set 'iso_1', but the Replication Server is using character set 'utf8'
RepServer 12.6 ESD#2 RSSD on ASE 12.5.1 ESD#2 I have the following when I created my first RepServer: 2004/06/22 11:22:04 waiting for server 'SYDNEY_RS' to boot... 2004/06/22 11:22:09 Task succeeded: start the Replication Server. 2004/06/22 11:22:09 Running task: configure the Replication Server. 2004/06/22 11:22:09 SQL Server message: msg 14125, level 11, state 0 2004/06/22 11:24:18 WARNING: "Application 'sybinit' is using character set 'iso_1', but the Replication Server is using character set 'utf8&#...

'''
Name: L Lachowsky Email: e2brutus_10atyahoodotcom Product: Firefox Summary: ''' Comments: why duddn this surprise me... I change default server from IE to Mozilla, and then i get error messages. well, shud I decide to not get on my computer with Mozilla..or shud I risk security breeches with IE....hmmm at least i can get on the internet with IE Browser Details: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5 From URL: http://hendrix.mozilla.org/ Note to readers: Hendrix gives no expectation of a response to this fee...

table_info('','','','%') cannot return any types
I was recently confirming table_info special cases and discovered the case for getting table_types cannot work. table_info('','','','%') should return a list of table types but it returns a list of empty strings instead: my @types = $h->tables('', '', '', '%'); print "all types:\n", join("xxx\n", @types), "\n"; # should output something like: # "dbo" # "INFORMATION_SCHEMA" # "sys" # and actually outputs: xxx xxx It seems to be down to the following ...

'Value' should be between 'minimum' and 'maximum'.
I'm attempting to invoke with parameters:  Dim thing2 As New mydelsubPBStep(AddressOf pbStep) Me.Invoke(thing2, "setMax", dt.Rows.Count)      <---- this is where the error occurs   the delegate looks like this: Private Delegate Sub mydelsubPBStep(ByVal mode As String, ByVal value As Integer)   the function it's calling looks like this:Private Sub pbStep(ByVal mode As String, ByVal value As Integer) Select Case mode.ToLower Case "clear" ProgressBar1.Value = 0 Case "step" ProgressBar1.PerformStep() L...

CS0118: 'objDR' is a 'variable' but is used like a 'method' Error
Hi all , iam getting the above error when iam reading data using Reader can any body tell me what iam doing wrong . Here is code   public bool CheckCredentials(string Username, string Password) {     objConn.Open();     objCmd = new OleDbCommand("SELECT User_Name, Pass FROM Users WHERE User_Name=@givenUsername", objConn);     objCmd.Parameters.AddWithValue("@givenUsername", Username);     objDR = objCmd.ExecuteReader();     if (!objDR.Read()) {         return false;   &nbs...

'or' or 'union'
Hello I was just wondering, in general what is better to use, an 'or' clause in a select or a 'union' to join two selects together. Do both statements create work tables? Many thanks Alex I think OR will be better than union. because suppose u have 3 tables and using OR u can join table a and table b and table c so each table will have only one read. but using union you will join table a and table b and in another query of union u will use table (a or b) and table c so ur one read is more in union . Ramdas Alex Cheung wrote: > Hello > >...

Using 'int64' in 'for' loop
I am using XE2. We know that it is not possible to use variable of type int64 in a for loop, e.g.: var i:int64; .... for i:=1 to n do will not compile. Question: Is this possible in the latest version of Delphi? If not: will this ever be possible to do? Thanks in advance, Andrej Mrvar wrote: > I am using XE2. We know that it is not possible to use variable of > type int64 in a for loop, e.g.: > > var i:int64; > ... > for i:=1 to n do > > will not compile. > > Question: > Is this possible in the latest version of Delphi? >...

'IN' Clause or 'OR'
Hello, [1]: select * from TABLEA where COL1 IN('value1','value2''valu3'....) [2]:select * from TABLEA where COL1 = 'value1' OR COL1= 'value2' OR COL1='valu3'. TABLEA is a huge table and it has non-clustered index on COL1. Among the above 2 queries, which query will give me the better performance or fast response and WHY? What is the difference between 'IN' and 'OR' clauses as for as Sybase Optimization is concerned. Which is the better one to be used on huge tables. Thanks. Mac An IN list is treated ...

Web resources about - Re: [perl #35982] use of backslashed '-' following '$' within character class causes 'Use of uninitialized value in concatenation (.) or string' error under 'use warnings' pragma - perl.perl5.porters

Warnings, /sdl, and improving uninitialized variable detection
... developers prioritize which instances were the most likely to have security implications. The C4701 warning identifies potential usage of uninitialized ...

Uninitialized on Steam
Featured News Recommended Wishlist STATS "> STORE Home DISCUSSIONS Workshop Greenlight Market "> Community ABOUT SUPPORT Install Steam login ...

C Sharp (programming language) - Wikipedia, the free encyclopedia
(pronounced see sharp ) is a multi-paradigm programming language encompassing strong typing , imperative , declarative , functional , generic ...

Microsoft XML vulnerability under active exploitation
... a Security Advisory describing a vulnerability in the Microsoft XML component. We discovered this vulnerability—which is leveraged via an uninitialized ...

Windows driveby attack on aeronautical website may be state sponsored
... exploit was planted on the site by "cybercriminals" who first managed to compromise its security. The vulnerability, which stems from an uninitialized ...

McAfee Labs - Blog Central
#McAfeeFOCUS , #MFETrivia , #SecChat , #SecurityLegos , $1 million guarantee , .pre , 3DS , 3G , 12 Scams of Christmas , 99 things , 419 scam ...

Product Reviews - Make-Up - Women's Business Network and Lifestyle Magazine - DestinyConnect
23 June 2012 REGISTER - HELP - DESTINYMAN.COM - LEGAL - CONTACT US facebook twitter linkedin rss Editorial Social Search: DESTINY LOGO Home Business ...

Issues - chromium - An open-source browser project to help move the web forward. - Google Project Hosting ...
My favorites ▼ - Sign in chromium An open-source browser project to help move the web forward. Project Home Downloads Wiki Issues New issue Search ...

pcs hacks - Hack a Day
Pinball Stomp: Part 2 posted May 7th 2012 3:35pm by Caleb Kraft filed under: classic hacks , pcs hacks , peripherals hacks This is the 2nd and ...

Is String.IsNullOrEmpty Good or Bad?
I started to wonder about that when I was looking for an equivalent method in Ruby. Apparently, Ruby doesn’t come with such a method built-in, ...

Resources last updated: 12/21/2015 10:56:25 PM