perl should have given me an error/warning because the s modifier isn't applicable to -p.
Anyway, here's what I tried, but this time I get nothing outputted:
and
Hi,
i am getting this error........
find ./ | sed '/\(*\) \(*\)/\2\1/'
Unrecognized command: /\(*\) \(*\)/\2\1/
Any idea???
regards
Apoorva Kumar (4 Replies)
Here is the question...
Create a new script, sub2, taking three parameters...
1.) the string to be replaced
2.) the string with which to replace it
3.) the name of the file in which to make the substitution
...that treats the string to be replaced as plain text instead of as a regular... (1 Reply)
Guys,
May i know how can we de reference the code reference variable.?
my $a = sub{$a=shift;$b=shift;print "SUM:",($a+$b),"\n";};
print $a->(4,5);
How can we print the whole function ?
Please suggest me regarding this.
Thanks for your time :)
Cheers,
Ranga :) (0 Replies)
Hi Perl users,
Could somebody help me to find the solution of my problem below.
Here is my data:
__DATA__
===================================================
NameOfipaddress ippair_1
propertiesx y
propertiesy x... (1 Reply)
Hi all,
I have written a perl code and stored the data into Data structure using Data::Dumper module.
But not sure how to retreive the data from the Data::Dumper.
Eg.
Based on the key value( Here CRYPTO-6-IKMP_MODE_FAILURE I should be able to access the internal hash elements(keys) ... (1 Reply)
I am trying to change a single line of a special file whose comment character is ! to show a path to the file in the comment. such as:
!!HFSS and mcm path: \Signal_Integrity\Package_SI\Section_Models\C4toTrace\28nm\D6HS\SLC_5-2-5\GZ41_ICZ\NSSS\
to a different path and replace the !!HFSS... (1 Reply)
i have a text
20 21 22 23 24 25 26
i want to get 22 using sed back reference.
I have used sed 's/{6}\(..\).*/\1/'
but, it does not work.
I am missing something somewhere.
Please help. (5 Replies)
I have data that looks like this:
<Country code="US"><tag>adsf</tag><tag>bdfs</tag></Country><Country code="CA"><tag>asdf</tag><tag>bsdf</tag></Country>
I want to grab the country code save it, then drop each new "<..." onto a new line with the country code added to the beginning of each
So,... (9 Replies)
Discussion started by: JenniferAmon
9 Replies
LEARN ABOUT MOJAVE
dbix::class::startupcheck5.18
DBIx::Class::StartupCheck(3) User Contributed Perl Documentation DBIx::Class::StartupCheck(3)NAME
DBIx::Class::StartupCheck - Run environment checks on startup
SYNOPSIS
use DBIx::Class::StartupCheck;
DESCRIPTION
This module used to check for, and if necessary issue a warning for, a particular bug found on Red Hat and Fedora systems using their
system perl build. As of September 2008 there are fixed versions of perl for all current Red Hat and Fedora distributions, but the old
check still triggers, incorrectly flagging those versions of perl to be buggy. A more comprehensive check has been moved into the test
suite in "t/99rh_perl_perf_bug.t" and further information about the bug has been put in DBIx::Class::Manual::Troubleshooting.
Other checks may be added from time to time.
Any checks herein can be disabled by setting an appropriate environment variable. If your system suffers from a particular bug, you will
get a warning message on startup sent to STDERR, explaining what to do about it and how to suppress the message. If you don't see any
messages, you have nothing to worry about.
CONTRIBUTORS
Nigel Metheringham
Brandon Black
Matt S. Trout
AUTHOR
Jon Schutz
LICENSE
You may distribute this code under the same terms as Perl itself.
perl v5.18.2 2013-12-16 DBIx::Class::StartupCheck(3)