Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: Correct Regex for reading stock symbol?

by Anonymous Monk
on Jan 31, 2006 at 18:49 UTC ( [id://526845]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Correct Regex for reading stock symbol?
in thread Correct Regex for reading stock symbol?

I found out where the problem is. I'm combining the symbol with a date generated. The file is supposed to be a stock symbol chart I have stored on my local drive. So I'm using the following code to see if it exists or not:
my $extx = ".jpg"; my $fx = "2006-01-05"; if( -f "D:/stock_charts/$symbol$fx$extx" ) { $filename = $fx; $com_hash{'num'} = "$filename"; last; } #so the filename should look like "AIDO.OB2006-01-05.jpg"
I think it has something to do with the proper tainting also. I'm going to try turning taint mode off to see if it stops it from timing out.

Thanks

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (9)
As of 2024-04-16 09:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found