08-19-2009
Cool, thxz tyler, but as I mentioned at the start before the code,that I am looking for a script that does the shuffling using these 3 commands
op, shift, & push.
Thxz for the hard wokr~
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hey im having problems getting my sound to work, im running linux mandrake 8.0 and it detects the sound card but it will not play any sound if there are any ideas or slutions please let me know.-vassago (3 Replies)
Discussion started by: vassago
3 Replies
2. BSD
Hi!
I just wanted to know what network cards are supported in FreeBSD. I have looked at the list of supported cards but I can't find any of them in the stores. Is the list not updated, I would really preciate info about where (in EU, Sweden) I can buy them.
/Peter (2 Replies)
Discussion started by: Barfly.se
2 Replies
3. Linux
i installed Red Hat Fedora (successfully this time) and my sound card wasnt automticly found or what ever. so how do i get my sound working and stuff? how do i gonfigure the sound card? how do i get it to detect the sound card? (4 Replies)
Discussion started by: xcaliber
4 Replies
4. Solaris
Has anyone configured one of these things, I cant seem to find any documentation on sunsolve, I want to verify that it is up and running... (1 Reply)
Discussion started by: csaunders
1 Replies
5. Solaris
Hi,
I'm looking for a command to be able to list all my network cards available on my server.
With the command "ifconfig - a", I can only see to configured network card(s)
Any idea ? :confused:
Thanks a lot for your help,
Fabien (5 Replies)
Discussion started by: unclefab
5 Replies
6. High Performance Computing
Hello
I have 2 machines with 3 NIC cards.
When I setup veritas, I receive this message:
e1000g1 has an IP address configured on it. It could be a public NIC on ken.
Are you sure you want to use e1000g1 for the first private heartbeat link?
As if e1000g1 should not have an IP address.... (2 Replies)
Discussion started by: melanie_pfefer
2 Replies
7. HP-UX
Hello,
I am trying to move an HP UX from one locaion to another. The new location don't have any Fiber switches.
On the back of my server I see 2 RJ 45 for console management the other for networking , the server also has a fiber NIC card. When I disconnec the fiber and want to user regular... (1 Reply)
Discussion started by: ldaliosmane
1 Replies
8. High Performance Computing
More and more applications which consist of computationally intensive tasks rely on the graphics card's capabilities in order to speed up the calculations. The question is how can one know whether the graphics card will have any influence for a proprietary application? (2 Replies)
Discussion started by: figaro
2 Replies
9. Fedora
Hi,
I have a text file that is a single column. How do I write code to shuffle it? Thanks!
Sample input:
NANP
DLGAP5
BUB1
C4orf46
BID (6 Replies)
Discussion started by: evelibertine
6 Replies
10. Shell Programming and Scripting
Hi experts,
I am new to perl.
I am trying to get the last file from set of files.
Using the below code; but getting error
pls help
Files:
-rw-r--r-- 1 abc abc 12584 Mar 18 16:22 /abc/def/ghi/xyz.HOSTNAME.2016.03.18.16.21.69709-6
-rw-r--r-- 1 abc abc 12623 Mar 18 16:25... (4 Replies)
Discussion started by: sdosanjh
4 Replies
LEARN ABOUT MOJAVE
xml::xpath::nodeset
XPath::NodeSet(3) User Contributed Perl Documentation XPath::NodeSet(3)
NAME
XML::XPath::NodeSet - a list of XML document nodes
DESCRIPTION
An XML::XPath::NodeSet object contains an ordered list of nodes. The nodes each take the same format as described in XML::XPath::XMLParser.
SYNOPSIS
my $results = $xp->find('//someelement');
if (!$results->isa('XML::XPath::NodeSet')) {
print "Found $results
";
exit;
}
foreach my $context ($results->get_nodelist) {
my $newresults = $xp->find('./other/element', $context);
...
}
API
new()
You will almost never have to create a new NodeSet object, as it is all done for you by XPath.
get_nodelist()
Returns a list of nodes. See XML::XPath::XMLParser for the format of the nodes.
string_value()
Returns the string-value of the first node in the list. See the XPath specification for what "string-value" means.
to_literal()
Returns the concatenation of all the string-values of all the nodes in the list.
get_node($pos)
Returns the node at $pos. The node position in XPath is based at 1, not 0.
size()
Returns the number of nodes in the NodeSet.
pop()
Equivalent to perl's pop function.
push(@nodes)
Equivalent to perl's push function.
append($nodeset)
Given a nodeset, appends the list of nodes in $nodeset to the end of the current list.
shift()
Equivalent to perl's shift function.
unshift(@nodes)
Equivalent to perl's unshift function.
prepend($nodeset)
Given a nodeset, prepends the list of nodes in $nodeset to the front of the current list.
perl v5.18.2 2002-09-02 XPath::NodeSet(3)