Microsoft
Software
Hardware
Network
Question : perl regex replace
I read in a file in perl into a string using
my $file= do { local $/; <INFILE> };
the file contains the following and I need to replace what is in VarFNC("neednewdatahere").
How can I make a regex to do this?
function thisismyfunction()
{
myVar= new VarFNC("thisisthedata");
myVar.startLog();
Answer : perl regex replace
Perhaps like this:
1:
$file =~ s/VarFNC\("[^"]+"\)/VarFNC("neednewdatahere")/g;
Random Solutions
Php 500 internal server error received on website but not using xampp at home
How to monitor users on WSS 3.0
Can't Remote Desktop to Forefront TMG Server
Custom Control Designer Error
PHP calling URL (which domain got me here?) PATH_INFO?
If home page add this script
Should I make a Drupal Theme from scratch?
PXE-E55: ProxyDHCP service did not reply to request on port 4011 Using SCCM 2007
breadcrumb trail in a dropdown box
LWAP are unable to join Cisco Wieeless Controller 4400