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
Decommissioning a xenserver / removing from xencenter pool
Append extra data to the right of common data between files
Unable to receive email forwarded into Lotus Domino 8 from Exchange Server 2007
MAcbook Pro refuses to connect via ethernet but works via wifi
Outlook 2010 Calendar synchronisation problems
return double array in Delphi call to c++
SSIS reuse the object variable
Microsoft Information Store stalling issues
is there a way to boot to an attached drive
Subdatasheet not visible on click on expand