|
|
| Syntactic Confectionery Delight | |
| PerlMonks |
How to replace the cut command from cshell in Perlby juo (Curate) |
| on Jan 19, 2001 at 16:12 UTC ( [id://53020]=perlquestion: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.juo has asked for the wisdom of the Perl Monks concerning the following question:
I have a variable called :
$path = c:/path1/path2/file1
Now I want to create a variable for example :
$file = file1
Does anybody know how to do this in Perl.
(file1 is not a fixed name but is different everytime)
Pieter
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||